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

Warren Myers volcimaster at gmail.com
Wed Mar 7 13:39:23 EST 2007


you could certainly do it with tr:

tr ',' '\t' < file.csv > file.col

WMM

On 3/7/07, Ned Williams <nedj10 at gmail.com> wrote:
>
> Greeting Ale members,
>
> I need to convert the lines of a csv file into collumned output I think
> this is a function of awk but I cannot seem to find the right combitnation
> of FS and RS options to get it done. Any ideas would be greatly appreciated
>
> thanks
> Ned
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>



-- 
http://warrenmyers.com
"God may not play dice with the universe, but something strange is going on
with the prime numbers." --Paul Erd?s
"It's not possible. We are the type of people who have everything in our
favor going against us." --Ben Jarhvi, Short Circuit 2
-------------- next part --------------
An HTML attachment was scrubbed...




More information about the Ale mailing list