On Wed, May 03, 2000 at 10:09:47AM +0200, Rene Lange wrote:
:
:q: I want to include my operating system in the header (it's
:completely useless, but it's fun) with "X-Operating-System". The
:problem is, the output of `uname -a` includes a "#", which gets
:recognized as a comment in the .muttrc.

I don't know if Mutt handles backslashed escapes for the '#' character.
But if it does, then perhaps you may add the necessary backslashes:

        `uname -a | sed 's/#/\\&/g'`

Then again, everything else starting with the system info is kinda
useless, IMHO:

        `uname -a | sed 's/ *#.*//'`

Or to include the relevant info you want:

        `uname -mnrs`


-- 
Eugene Lee
[EMAIL PROTECTED]

Reply via email to