fix bin/sgi.sh to unique sort
This commit is contained in:
1 parent
a86786130f
commit
1e89a73cf4
2 files changed
+2
-1
No files matched your search
@@ -4,6 +4,7 @@
|
||||
cup.out
|
||||
cup.out2
|
||||
herrmann2
|
||||
herrmann2.alt
|
||||
herrmann2.orig
|
||||
indent
|
||||
indent.c
|
||||
|
||||
+1
-1
@@ -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] //'
|
||||
Reference in new issue
Block a user