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

23
src/cmd/dict/gefix Executable file
View file

@ -0,0 +1,23 @@
#!/bin/rc
sed '
s/[ ]+$//
/ /!d
s/\\N''349''//g
s/''//g
s/ -/ /
s/-$//
/\([^,) ]+(\)|$)/{; h; s///; p; g; s/\(//; s/\)//; }
/\(r, s\)$/{; s///; p; s/$/r/; p; s/r$/s/; }
' $1 |
sed '
/\([^,) ]+(\)|$)/{; h; s///; p; g; s/\(//; s/\)//; }
/\(r, s\)$/{; s///; p; s/$/r/; p; s/r$/s/; }
' |
sed '/ß/{; p; s/ß/ss/g; }' |
awk '
BEGIN { FS = " |, " }
{ for(i=2; i<=NF; i++)print $i " " $1 }
' |
tr A-Z a-z |
sort -u -t' ' +0f -1 +0 -1 +1n -2