summaryrefslogtreecommitdiffstats
path: root/tests/sort.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sort.sh')
-rwxr-xr-xtests/sort.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/sort.sh b/tests/sort.sh
index c5edad1..904b216 100755
--- a/tests/sort.sh
+++ b/tests/sort.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-head -n 7 $1 > .foo
-tail -n +8 $1 | grep '[[:alnum:]]' | sort >> .foo
-rm $1
+sed '/Members:/q' $1 > .foo
+awk '/Members:/,EOF' $1 | grep -v 'Members:' | sort >> .foo
+rm -f $1