This commit is contained in:
rsc 2003-11-25 03:37:45 +00:00
parent 091f74d0a0
commit 0870887793
27 changed files with 8343 additions and 0 deletions

8
src/cmd/dict/getneeds Executable file
View file

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