aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/dict/egfix2
blob: d5af3bfeed563eabcee6a85382c09fc2cb87a30a (plain)
1
2
3
4
5
6
7
8
#!/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