Re: Automated subscribe/from/record setup script help
* David Yitzchak Cohen <lists@xxxxxxxxxxxxxx> [2003-11-12 19:46 -0900]:
> On Thu, Oct 30, 2003 at 06:35:34AM -0900, David J. Weller-Fahy wrote:
> > FILE="${DIR}/cur/"`ls -t "$DIR"/cur/ |head -1`
>
> then use:
> FILE="${DIR}/cur/"`( ls -t "$DIR"/cur/ ; echo ) | head -1`
>
> so you can avoid the broken pipe :-)
Everyone wants to avoid the broken pipe... basement gets messy. ;]
> HTH (eh, HTW ... LOL)
I did have hopes, but they were dashed (broken? ;). Using your example here's
an edited version of 'script -c mutt mutt.error':
#v+
Script started on Thu Oct 30 21:33:35 2003
ls: write error: Broken pipe
ls: write error: Broken pipe
ls: write error: Broken pipe
ls: write error: Broken pipe
ls: write error: Broken pipe
ls: write error: Broken pipe
Script done on Thu Oct 30 21:33:40 2003
#v-
Odd... been trying to research, but no luck so far.
Anyway, I'll keep plugging away, and using the one that works.
Regards,
--
dave [ please don't CC me ]