tab-delimited to csv

2009-02-16 Thread John Almberg
Can anyone suggest a way to convert a tab-delimited file to csv using standard unix utilities? I could whip up a Ruby script to do it, but I hate to reinvent the wheel. Thanks: John ___ freebsd-questions@freebsd.org mailing list http

Re: tab-delimited to csv

2009-02-16 Thread Adam Vande More
John Almberg wrote: Can anyone suggest a way to convert a tab-delimited file to csv using standard unix utilities? I could whip up a Ruby script to do it, but I hate to reinvent the wheel. Thanks: John ___ freebsd-questions@freebsd.org mailing list

Re: tab-delimited to csv

2009-02-16 Thread Polytropon
On Mon, 16 Feb 2009 11:55:50 -0500, John Almberg jalmb...@identry.com wrote: Can anyone suggest a way to convert a tab-delimited file to csv using standard unix utilities? I could whip up a Ruby script to do it, but I hate to reinvent the wheel. I think it's more simple with sed. Use

Re: tab-delimited to csv

2009-02-16 Thread John Almberg
On Feb 16, 2009, at 12:16 PM, Adam Vande More wrote: John Almberg wrote: Can anyone suggest a way to convert a tab-delimited file to csv using standard unix utilities? I could whip up a Ruby script to do it, but I hate to reinvent the wheel. Thanks: John

Re: tab-delimited to csv

2009-02-16 Thread Roland Smith
On Mon, Feb 16, 2009 at 11:55:50AM -0500, John Almberg wrote: Can anyone suggest a way to convert a tab-delimited file to csv using standard unix utilities? I could whip up a Ruby script to do it, but As long as the files don't contain commas themselves, it is a straightforward sed or perl

Re: tab-delimited to csv

2009-02-16 Thread John Almberg
On Feb 16, 2009, at 12:55 PM, Roland Smith wrote: On Mon, Feb 16, 2009 at 11:55:50AM -0500, John Almberg wrote: Can anyone suggest a way to convert a tab-delimited file to csv using standard unix utilities? I could whip up a Ruby script to do it, but As long as the files don't contain

Re: tab-delimited to csv

2009-02-16 Thread Adam Vande More
John Almberg wrote: On Feb 16, 2009, at 12:55 PM, Roland Smith wrote: On Mon, Feb 16, 2009 at 11:55:50AM -0500, John Almberg wrote: Can anyone suggest a way to convert a tab-delimited file to csv using standard unix utilities? I could whip up a Ruby script to do it, but As long

Re: tab-delimited to csv

2009-02-16 Thread John Almberg
On Feb 16, 2009, at 1:25 PM, Adam Vande More wrote: John Almberg wrote: On Feb 16, 2009, at 12:55 PM, Roland Smith wrote: On Mon, Feb 16, 2009 at 11:55:50AM -0500, John Almberg wrote: Can anyone suggest a way to convert a tab-delimited file to csv using standard unix utilities? I could