[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug?
From: |
Bob Proulx |
Subject: |
Re: Bug? |
Date: |
Fri, 2 Feb 2001 15:16:35 -0700 |
> 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?, Eric Heverly, 2001/02/02