SED

Remove blank spaces (in other words: substitute globally with nothing)

sed 's/ //g' <infile >outfile

Remove $

sed 's/\$//g' <infile >outfile

Delete empty lines

sed '/^$/d' <infile >outfile
sed.txt · Last modified: 2010/07/01 16:38 (external edit)
CC Attribution-Noncommercial-Share Alike 3.0 Unported chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0