[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] bash scripting question
- Subject: [ale] bash scripting question
- From: fletch at phydeaux.org (Fletch)
- Date: Thu Sep 11 08:44:07 2003
- In-reply-to: <[email protected]>
- References: <[email protected]>
if perl -e 'exit(grep(-e,glob(shift))?0:1)' '*.foo' ; then
echo "*.foo exists"
else
echo "no *.foo"
fi
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
770 294-0820 (m) | scary questions." -- Jules =(___)=
| U