in message <[EMAIL PROTECTED]>,
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

-- 

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to