On Tuesday 13 October 2009 00:00:44 David Haller wrote:
if ! test -e $rarfile; then echo "cannot find rarfile in $clientdir" >&2 continue; ### or exit? Depends what you want fi
Yes David, and if you read the email I was responding to, it said what he wanted, which was to use r01 instead of rar in case .rar didn't exist
Why the 'test'?
readability
And 'x' is the wrong command (fullpath, you want current dir, it might make no difference here though, that depends on how the rar was packed).
good point
I'm not that sure on what conditions rar exits with a status != 0
on errors. It exits with 0 when everything went OK Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org