File: sort.sh

package info (click to toggle)
ipset 6.23-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,356 kB
  • ctags: 3,215
  • sloc: ansic: 30,595; sh: 14,626; makefile: 212; 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