and what to do about the pipeline? it seems to me that it is more correct to use ; or && - arlene_Lebsa commented on September 19th 19 at 00:17
: Yes, was in a hurry... Corrected )) - cullen.Jast40 commented on September 19th 19 at 00:20
Carrol answered on September 19th 19 at 00:16
In the General case -- can only write to a temporary file and then rename it.
In the particular case of sort you can use -o, which here explicitly says that the name of the file to match the name of one of the input files. (But not always, particularly in the presence of the-m switch to gnu sort may overwrite the input file before it is read).
Please sign in or sign up to write your answer or comment.
;
or&&
- arlene_Lebsa commented on September 19th 19 at 00:17