cool - nitpicking! :) On Thu, Apr 26, 2007 at 10:43:17AM -0300, Angel Olivera wrote: > I was trying to avoid stating the obvious, but since we're "fixing" > the above mentioned expression, why are you using grep and sed, when > sed alone is perfect at replacing grep? > probably for the same reason why you used an address expression when the substitute alone would be sufficient. ;-)
> source $HOME/.muttrc-color-`infocmp | sed -n > '/colors#/s/.*colors#\([0-9]\+\).*/\1/p'` > source $HOME/.muttrc-color-`infocmp | sed -n 's/.*colors#\([0-9]\+\).*/\1/p'` but source $HOME/.muttrc-color-`tput colors` is indeed just unbeatable. -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! -- Chaos, panic, and disorder - my work here is done.
