Quantcast
Channel: Convert output of shell script to .csv - Ask Ubuntu
Browsing all 2 articles
Browse latest View live

Answer by Zanna for Convert output of shell script to .csv

Well, looks like we can do it with sed :) This looks OK to me (the leading | is me assuming you'll be piping the output of your script into the command): | sed -r '/test/ N;N;N;...

View Article



Convert output of shell script to .csv

I want to convert the output of the below patchhistory.sh shell script to csv, so that I can get the information in column format like this: servername patch history uptime 1.test-tch008.test.com...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images