> Or perhaps you just want to know if any .in files exist at all in
> which case you could perhaps do something like this.
> 
>   if [ -n "`echo *.in`" ]; then
>     : do something
>   fi

I should test my snippets.  This obviously won't work.  You would
really need something like the following.  I am sure more elegant
solutions exist.  But I am going to quit even if this is not the best
solution.

  if ls *.in 2>/dev/null; then
    : do something
  fi

Bob

_______________________________________________
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils

Reply via email to