summaryrefslogtreecommitdiffstats
path: root/tests/sort.sh
blob: ccdbc4eafde212ea6fd991c90c874b8296ffcf7c (plain)
1
2
3
4
5
6
#!/bin/sh

head -n 6 $1 > .foo
tail -n +7 $1 | grep  '[[:alnum:]]' | sort >> .foo
echo >> .foo
rm $1