In <20090628141815.gm2...@pear.tzafrir.org.il>, Tzafrir Cohen wrote:
>On Sun, Jun 28, 2009 at 11:42:58AM +0200, Michelle Konzack wrote:
>> But I would prefer something like:
>>
>>     if [ $(cd "$1") -ne 0 ]
>>         then echo "badbadbad" ; exit 1
>>     fi
>
>Note that this runs the 'cd' command in a subdirectory,
                                           ^^^^^^^^^^^^

You mean subshell.
-- 
Boyd Stephen Smith Jr.                   ,= ,-_-. =.
b...@iguanasuicide.net                  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy         `-'(. .)`-'
http://iguanasuicide.net/                    \_/

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to