File: sort.sh

package info (click to toggle)
ipset 6.30-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,916 kB
  • ctags: 3,268
  • sloc: ansic: 31,439; sh: 14,777; makefile: 242; pascal: 125; awk: 3
file content (5 lines) | stat: -rwxr-xr-x 88 bytes parent folder | download | duplicates (3)
1
2
3
4
5
#!/bin/sh

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