add dict
This commit is contained in:
parent
091f74d0a0
commit
0870887793
27 changed files with 8343 additions and 0 deletions
15
src/cmd/dict/egfix
Executable file
15
src/cmd/dict/egfix
Executable 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
|
||||
'
|
||||
Loading…
Add table
Add a link
Reference in a new issue