shithub: riscv

ref: a38e34bead8788b81def8ebe03683c2ce2edb576
dir: /sys/src/cmd/dict/egfix2/

View raw version
#!/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