[Slackbuilds-users] pushd on /bin/sh scripts
Robby Workman
rworkman at slackbuilds.org
Thu Feb 22 05:24:08 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Scott J. Harmon wrote:
>> When I use subshells in a script I usually test the return value with
>> $?...alternatively you could do something like:
>
>> ( ls file4 || exit 1 ) || exit 1
Yeah, the test $? was one of the things I suggested in the previous
post that's archived - I didn't even consider the second (obvious)
suggestion :/
RW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.2 (GNU/Linux)
iD8DBQFF3Sj47QPvQNDlLwQRAkBPAJ9EFNfZ8SaGsiArjpx+dU9hDQV7AwCdEja6
CBWzPbmu5PtcQgy0gtLLRCA=
=9Pa2
-----END PGP SIGNATURE-----
More information about the Slackbuilds-users
mailing list