summaryrefslogtreecommitdiffstats
path: root/tests/sort.sh
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2009-11-10 21:53:19 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2009-11-10 21:53:19 +0100
commitcb76e46e97b0013305a7c96c2230a791675a15cf (patch)
tree919a4cf6a6a3de1fdfc432fdf10000dddf14f8db /tests/sort.sh
parent17d954a793b8a275324e5941a9515b991c80789d (diff)
ipset 4.0 releasedv4.0
See ChangeLog files
Diffstat (limited to 'tests/sort.sh')
-rwxr-xr-xtests/sort.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/sort.sh b/tests/sort.sh
new file mode 100755
index 0000000..a01d066
--- /dev/null
+++ b/tests/sort.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+awk '/^[A-Za-z]+:/ { print $0 }' $1 > .foo
+awk '!/^[A-Za-z]+:/ && !/inding/ { print $0 }' | sort >> .foo
+rm $1