I have an external program that produces an output file (largish, 20K lines possible).
I need to insert a new line between the existing line 1 and line 2. I've been looking at awk and sed - I use one liners in each fairly regularly - but I haven't been able to come up with the right switches to do this.
awk 'NR==1{print; print "new line"} NR!=1'
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments