Answers for "how to add word at end of line with sed"

0

sed add word to beginning of line

$ sed 's/^/#/' file.txt
#add
#character
#at the
#beginning of
#each line
Posted by: Guest on March-22-2020
0

sed add word to end of line

sed 's/.*/&:80/'  abcd.txt >abcde.txt
Posted by: Guest on May-13-2020

Code answers related to "how to add word at end of line with sed"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language