* Brian Clark ([EMAIL PROTECTED]) [Feb 01. 2002 00:33]:

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

By the way, if anyone else wants to do this and the lines in addrs.txt
have spaces, use $0 rather than $1.

awk '{printf("color index yellow default \"~f \\\"%s\\\" ~N\"\n", $0);}' < addrs.txt

Thank, David. Neat trick.

-- 
Brian Clark | Avoiding the general public since 1805!
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
It's never too late to panic.

Reply via email to