On Mon, Jul 14, 2008 at 02:56:27PM -0700, Gary Kline wrote:
> 
>       But as you point out, the followingisthat much more effective.
>       or at least lesss typing.
> 
> > 
> > But why do it the hard way?
> > 
> > #!/bin/sh
> > /bin/rm /tmp/kde-kline/*wav > /dev/null 2>&1
> 
>       with this,
> > 
> > /bin/rm /tmp/kde-kline/*log > /dev/null 2>&1

The other advantage of the simple version above is that it handles
spaces in the file name. The others need a bit more care to make sure
spaces are quoted else they will separate arguments in the shell
interpreter.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
========================================================================
Whom computers would destroy, they must first drive mad.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to