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

15
src/cmd/dict/egfix Executable file
View file

@ -0,0 +1,15 @@
#!/bin/rc
sed '
s/[ ]+$//
/ /!d
/, /{; h; s/,.*//; p; g; s/ .*, / /; }
' $1 |
sed '
/\(/{; h; s/\([^)]+\)//; p; g; s/[()]//g; }
' |
sed '
s/ +/ /
s/[ ]+$//
s/ +/ /g
'