I left out some details. ;-) I need to insert a block of text at a very specific place in that file.
Therefore, I need to read each line in order to find out if it's time to insert the block. I can't just use 'cat'.
Also, the "signaling" line does not appear in a fixed line number or...
Hi,
I simply want to read each line in a file, and then spit it out faithfully to STDOUT. The problem is when I use 'print' or 'echo' to spit out the line, the leading blanks are stripped, i.e. original " hahaha", after 'print' or 'echo', it becomes "hahaha". I need the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.