fix bin/sgi.sh to unique sort

This commit is contained in:
Landon Curt Noll committed 2024-03-11 21:08:50 -07:00
1 parent a86786130f
commit 1e89a73cf4
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -4,6 +4,7 @@
cup.out
cup.out2
herrmann2
herrmann2.alt
herrmann2.orig
indent
indent.c
+1 -1
View File
@@ -47,5 +47,5 @@
# Share and enjoy! :-)
sed -e '/^#/s/.*/0 &/' -e '/^*/s/.*/1 &/' -e '/^[^01*!]/s/.*/2 &/' -e '/^!/s/.*/3 &/' |
sort -k 1n -k 2d |
sort -u -k 1n -k 2d |
sed 's/[0123] //'