On 03/12/2011 08:00 PM, Neal Murphy wrote:
>
> <snipping>
> OR use:
>    [ -e "file_1" ]&&  [ ! -e "file_2" ]&&  {
>      <commands>;
>    }
>    # equivalent: test -e "$file_1&&  test ! -e file_2&&  {
>
> OR even use:
>    [ -e "file_1" -a ! -e "file_2" ]&&  {
>      <commands>;
>    }
>    # equivalent: test -e "file_1" -a ! -e "file_2"&&  {
>
> <snipping>
Thanks for the insight, Neal. I'm starting to "play" with the script. In 
the above examples are you suggesting that I enclose the names of the 
files in quotes? I can't find this syntax in my references. If you are 
suggesting it, is it so that no expansion takes place?
> Nothing else on your script pokes me in the eye with a sharp stick.
Good.

Thanks again,
Dan

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to