why is this script failing?
fbsd.questions at rachie.is-a-geek.net
Mon Jul 14 20:34:15 UTC 2008
On Monday 14 July 2008 22:12:47 Gary Kline wrote:
> for reasons i don't understand completely, i wind up with
> *wav* files in my /tmp/kde-kline/* directory. plus othr misc junk
> why is this script not finding them?
> if [ -s $wav ]
Hint: this works, if there's only 1 wav file.
The way to do it:
if test ! -z "$wav"; then
for f in $wav; do
echo "No wav files"
Problem with today's modular software: they start with the modules
and never get to the software part.
More information about the freebsd-questions