E Forrest Carpenter <[EMAIL PROTECTED]> wrote:
>
> > > alias somelist `getlist.pl`
> > 
> > Perhaps you didn't have your script output a trailing new-line (\n)
> > character?
>
> That did it, thanks.  Incidentally, why is the newline character
> required?  There's a newline after the second back-tick, right?

Mutt's parser requires full lines to be read.  You will see the same
effect if your editor doesn't put a newline character at the end of your
.muttrc file; that final command will be ignored.

In this case, though, Mutt is reading the .muttrc just fine; it's when
it reads the piped output from your "getlist.pl" script, the same parser
is used, and it wants to read full lines of output.  If your script
fails to output a final newline character, the last (unfinished, in
Mutt's eyes) line of output will be ignored.

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
UX WTEC Engineer |    PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44

Reply via email to