Angus Lees <[EMAIL PROTECTED]> wrote:

> #! /usr/bin/awk -f

> BEGIN { FS = OFS = "," }

> {
>   for (i = 0; i < NF; i++)
>     if (!$i) $i = "''";
>   print;
> }

Here's another way to write this:

join -e "''" -t , -v 1 - /dev/null
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to