why is this script failing?
    Gary Kline 
    kline at thought.org
       
    Mon Jul 14 20:12:48 UTC 2008
    
    
  
	people,
	for reasons i don't understand completely, i wind up with
	*wav* files in my /tmp/kde-kline/* directory. plus othr misc junk
	files.
	why is this script not finding them?
wav=/tmp/kde-kline/\*wav\*
if [ -s $wav ]
then
        echo "Wav files found";
        ls -l $wav;
        /bin/rm ${wav};
else
        echo "No wav files in /tmp/kde-kline";
        exit 0;
fi
	do i have to cd to /tmp/kde-kline and examine every file in a
	loop?
	tia,
	gary
-- 
  Gary Kline  kline at thought.org   www.thought.org  Public Service Unix
        http://jottings.thought.org   http://transfinite.thought.org
    
    
More information about the freebsd-questions
mailing list