The -i.bak gives you an effective in-place edit with a back-up in file.bak.
--
John.
In reply to Re: finding and deleting repeated lines in a file
by jmcnamara
in thread finding and deleting repeated lines in a file
by Becky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |