|
sed examplesLast revision August 6, 2004
Remove trailing blanks or tabs at the end of any line:
(here, the ^I means the TAB character, normally obtained by pressing the TAB key, although you can also press CTRL-I). Add a newline character after each input line to create "double spaced" output:
Here, the sed commands are more complicated and stored in a script
file addnl.sed, whose contents are: Delete lines in a range. This example deletes all the message lines in a Microprobe
output file up to the start of the first data output lines (denoted by a line
starting with "Pt #")
|