Subversion Repositories planix.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#!/bin/rc
2
for (x in spec tag aux status) {
3
	grep ' '^$x^' ' $1 > junk1
4
	sort +4 -5 +3n -4 junk1 > junk2
5
	awk '{if ($5 != prev) print $0; prev = $5}' junk2 > junk3
6
	sort -n +2 -3 junk3 > need$x
7
	rm junk*
8
}