2/21/2014

2/17/2014

Fix "^m" at the end of line

fix line endings in vi:
:set fileformat=unix
:wq

2/14/2014

delete content of file1 from file2

grep -v -f file1 file2 > outfile

here outfile will have data other than file1 content

For exact match, use -Fx

grep -vFx -f file1 file2 > outfile

2/12/2014

delete empty lines from file

$ sed  '/^\s*$/d'  lineno_tape.list