* David Champion ([EMAIL PROTECTED]) [Feb 01. 2002 00:20]:

[...]

> > With one line that gets the list from a file (via grep?).

> How about:

> $ cat addrs.txt
> feefee
> geegee
> heehee

> $ cat dynacolor.sh
> #!/bin/sh
> awk '{printf("color index yellow default \"~f %s ~N\"\n", $1);}' <addrs.txt

> $ tail -1 .muttrc
> source dynacolor.sh|

El neato. That's super! I had to wrap %s in escaped double quotes, but
exactly what I'm looking for. And I guess I've learned about `source'
now. *Sigh*

(the sig fits!)
-- 
Brian Clark | Avoiding the general public since 1805!
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
I have learned to use the word 'impossible' with the greatest caution.

Reply via email to