Hi,
`sort input.txt -o input.txt` overwrites the input file. My
understanding is that sort reads everything and then write the output.
So it is OK to overwrite the original file. But I want to be sure. Can
anyone confirm if this is the case? Thanks.
--
Regards,
Peng