diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-04-22 17:11:01 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-04-22 17:11:01 +0200 |
commit | 9638135a8ea91a157a68148fb1d84edec52c313b (patch) | |
tree | b36186bd6411dd06070270a375cda6e14f4c3a1d /tests/sort.sh | |
parent | 456b1d993711eb4297012ad4a881c459c0511358 (diff) |
Nineth stage to ipset-5
Update tests.
Diffstat (limited to 'tests/sort.sh')
-rwxr-xr-x | tests/sort.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/sort.sh b/tests/sort.sh index a01d066..907148a 100755 --- a/tests/sort.sh +++ b/tests/sort.sh @@ -1,5 +1,6 @@ #!/bin/sh -awk '/^[A-Za-z]+:/ { print $0 }' $1 > .foo -awk '!/^[A-Za-z]+:/ && !/inding/ { print $0 }' | sort >> .foo +head -n 7 $1 > .foo +tail -n +8 $1 | grep '[[:alnum:]]' | sort >> .foo +echo >> .foo rm $1 |