[ale] bash scripting question

Fletch fletch at phydeaux.org
Thu Sep 11 08:44:07 EDT 2003


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



More information about the Ale mailing list