Plan 9 from Bell Labs’s /usr/web/sources/contrib/akumar/dict/leginx.rc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc
mydictd=$home/update/dict/mkdictd
cat $1 | $mydictd |
awk 'BEGIN { FS = ";[ \t]*|[ \t]+" }
	{for (i=1; i<NF; i++) printf "%s	%d\n", $i, $NF}' |
sed 's/\[?([^\[\]]+)\]?/\1/g
	s/\([A-Za-z]+\)	/	/g' |
sort -u -t'	' +0f -1 +0 -1 +1n -2

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].