Fastest way to convert a csv to html

The best-(fastest and then simplest) way to convert a csv to html?

On 13.08.2012 16:21, ajay paswan wrote:

The best-(fastest and then simplest) way to convert a csv to html?

This must be pretty close to the fastest/simplest - not sure about
‘best’ :wink:

ruby -pe ‘BEGIN{puts “”};END{puts “”}’
test.csv > test.html

Alex G. wrote in post #1072225:

On 13.08.2012 16:21, ajay paswan wrote:

The best-(fastest and then simplest) way to convert a csv to html?

This must be pretty close to the fastest/simplest - not sure about
‘best’ :wink:

ruby -pe ‘BEGIN{puts “”};END{puts “”}’
test.csv > test.html

I would add

 and 
to the begin and end sections.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs