Igor --
...and then Igor Pruchanskiy said...
% Hello all,
Hello!
%
% I have a little question here....
% See this signature at the bottom? Well, it is not supposed to be here.
That happens.
%
% I have these set in my .muttrc
%
% # Makes signature look like this : "Uptime: 20 days, 22:01"
% # Stolen from mutt-users list :)
% set signature='echo -n "Uptime: "; uptime \
% | sed "s/.*up\(.*\),\ \+[0-9]\+\ user.*/\1/"|'
That will set it once.
%
% and
%
% send-hook "[EMAIL PROTECTED]" "set signature=~/.mutt/.signature-expedition"
This will reset it.
%
% The problem is that after i send mail to Expedition mailing list signature
% is not set back to normal... should i replace the first one with
Yep.
%
% send-hook "." "set signature='echo -n "Uptime: "; uptime \
% | sed "s/.*up\(.*\),\ \+[0-9]\+\ user.*/\1/"|'"
That is one way to do it, and a fine way at that. You could lose the
quotes around the . regexp, though, and you may have some troubles with
the nested quotes around Uptime. Try some experimentation.
%
% ?
%
% igor
HTH & HAND
%
% --
% '01 XLT 2X4
% 4.6L Triton V8
So how do you like your toy? :-)
:-D
--
David T-G * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
PGP signature