sed append to line code example Example: sed add word to end of line sed 's/.*/&:80/' abcd.txt >abcde.txt