Quantcast
Channel: Convert output of shell script to .csv - Ask Ubuntu
Browsing latest articles
Browse All 2 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 latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>