Add lines to the beginning and end of the huge file – unix.stackexchange.com
I have the scenario where lines to be added on begining and end of the
huge files. I have tried as shown below. for the first line: sed -i
'1i\'"$FirstLine" $Filename for the last line: sed -i …
No comments:
Post a Comment