How to do <cmd> file | hold file
Rod Williams
rjw at PacBell.COM
Sat Sep 8 08:47:35 AEST 1990
> ...suppose I want to sort a file
>and place the result in the same file without destroying it,
Doesn't 'sort' allow you to do this already in one easy step?
sort -o<file> <samefile>
...or did I misunderstand the question?
--
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Rod Williams * entertain *
* Pacific Bell - San Ramon CA * a thought *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
More information about the Comp.unix.shell
mailing list