Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Nov 2004 14:07:38 -0500
From:      Parv <parv@pair.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: what does "rm //" delete?
Message-ID:  <20041128190738.GA25187@moo.holy.cow>
In-Reply-To: <20041128185333.GA24199@moo.holy.cow>
References:  <20041128112146.GA1696@oliverfuchs.onlinehome.de> <20041128185333.GA24199@moo.holy.cow>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <20041128185333.GA24199@moo.holy.cow>,
wrote Parv thusly...
>
>   for shell in sh csh tcsh bash ksh93 blah
                                        ^ ^
                                        ^ ^
Sorry, that "blah" shell was there only to test for existence of a
shell which i forgot to remove.  Of course.

>   do
>     shell=$(which $shell)
>     [ -z "$shell" ]  && continue
      ...
>   done


  - Parv

-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041128190738.GA25187>