Answers for "how to add characters before a line"

0

how to add characters before a line

cat new.txt | awk '{print "whatever you want" $0 }' > new_tmp.txt

$0 print all the line again
Posted by: Guest on October-18-2021

Code answers related to "how to add characters before a line"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language