Sort file inline
2019-09-26 ::
( 1 minutes reading )
We can sort file by using sort
command for example:
|
|
But this will only output to stdout. Some time you want the file to be sorted. Instead you can do
|
|
note that this DOEST work and it will TRUNCATE the file
|
|