diff options
author | KatolaZ <katolaz@freaknet.org> | 2019-01-28 05:46:14 +0000 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2019-01-28 05:46:14 +0000 |
commit | 2ecad5ca4cb69a32680683e400154e9cffb373f4 (patch) | |
tree | d101d0eb2829c2ea0827289f476d9c60eb50b0d6 | |
parent | d679c9b229da21f8c356828891c0753f9b7ecfa5 (diff) |
fix sorting by date and name
-rwxr-xr-x | phrollo | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,5 +23,5 @@ while read -r D T S H P SH; do printf "%s\t%s\t%s\t%s\t%s\t%s\n" "$D" "$T" "$S" "$H" "$P" "$SH" done < "${FILEIN}" | sort -rnk1 -k2 | tee "${FILEOUT}" | \ sed -r "s/^([0-9][0-9]*) /1(\1) /g;s/ [a-f0-9][a-f0-9]*$//g" |\ - sort -k1 -k2 + sort -rk1 -k2 |