[sed] Append Text at the Beginning of Each Line
Append text at the beginning of each line via sed stream editor.
Append ``| `` to the beginning of each line.
sed 's/^/| /' tmp.txt > tmp2.txt
Tested on Ubuntu Linux 15.10, sed 4.2.2-6.1.
References:
[1] |