On 2002.01.31, in <20020201045411.GB18136@ganymede>, "Brian Clark" <[EMAIL PROTECTED]> wrote: > > IOW, I'm trying to replace these (a lot more than 3): > > color index yellow default "~f feefee ~N" > color index yellow default "~f geegee ~N" > color index yellow default "~f heehee ~N" > > 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| -- -D. [EMAIL PROTECTED] NSIT University of Chicago