plan9port/src/cmd/dict/egfix2

9 lines
134 B
Text
Raw Normal View History

2003-11-25 03:37:45 +00:00
#!/bin/rc
awk '
BEGIN { FS = " |, " }
{ for(i=2; i<=NF; i++)print $i " " $1 }
' $1 |
tr A-Z a-z |
sort -u -t' ' +0f -1 +0 -1 +1n -2