[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] bash scripting question
- Subject: [ale] bash scripting question
- From: dcorbin at machturtle.com (David Corbin)
- Date: Wed Sep 10 20:21:55 2003
- In-reply-to: <[email protected]>
- References: <[email protected]>
I like....
[ `ls ... | wc -l ` -gt 0 ]
On Wednesday 10 September 2003 19:49, Kevin Krumwiede wrote:
> I need a boolean statement that will evaluate to true if one or more files
> matching a wildcard exist. I tried [ -f ... ], it works if there is
> exactly one matching file, but not if there are more.
>
> Thanks,
> Krum
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
--
David Corbin <dcorbin at machturtle.com>