[ale] Converting CSV files to column based flat files with awk?

Michael B. Trausch fd0man at gmail.com
Wed Mar 7 16:20:21 EST 2007


On Wed, 2007-03-07 at 14:54 -0500, Jeff Lightner wrote:
> Been a while since I needed to do that ? I *think* I used to do it by
> piping through ?pr?.

It would seem that the way to do this with pr is to first put everything
on its own line, then use the --columns and -a options.  So, probably a
combination of tr and pr would do it.

    ? Mike

--
Michael B. Trausch
                    fd0man at gmail.com
Phone: (404) 592-5746
                          Jabber IM:
                    fd0man at gmail.com
              fd0man at livejournal.com
Demand Freedom!  Use open and free protocols, standards, and software!
-------------- next part --------------
An HTML attachment was scrubbed...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3149 bytes
Desc: not available




More information about the Ale mailing list