Appending a text (say "Once upon a tim") to each line of the file (eg: y.txt)sed -i 's/\(.*\)/Once upon a tim \1/g' y.txt
Post a Comment
1 comment:
Appending a text (say "Once upon a tim") to each line of the file (eg: y.txt)
sed -i 's/\(.*\)/Once upon a tim \1/g' y.txt
Post a Comment