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

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