<<< Date Index >>>     <<< Thread Index >>>

Re: Automated subscribe/from/record setup script help



On Thu, Oct 30, 2003 at 06:35:34AM -0900, David J. Weller-Fahy wrote:

> In example if I use:
> FILE="${DIR}/cur/"`ls -t "$DIR"/cur/ |head -1`
> in place of:
> FILE=`echo "$DIR"/cur/* |sed 's/.\+ //'`
> then I get the broken pipe messages.

then use:
FILE="${DIR}/cur/"`( ls -t "$DIR"/cur/ ; echo ) | head -1`

so you can avoid the broken pipe :-)

HTH (eh, HTW ... LOL),
 - Dave

-- 
Uncle Cosmo, why do they call this a word processor?
It's simple, Skyler.  You've seen what food processors do to food, right?

Please visit this link:
http://rotter.net/israel

Attachment: pgpSWmdD3SU3u.pgp
Description: PGP signature