Plan 9 from Bell Labs’s /usr/web/sources/contrib/mjl/plumbing

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


# for pdict
type	is	text
data matches	'dict:([^:]+):(.+)'
plumb	start	rc -c 'pdict -d '$1' '$2' >[2=1] | plumb -i -d edit -a ''action=showdata filename=/dict/'$1'/'$2''''

type	is	text
data matches	'dict:(.+)'
plumb	start	rc -c 'pdict '$1' >[2=1] | plumb -i -d edit -a ''action=showdata filename=/dict/'$1''''

type	is	text
data matches	'wn:(.+)'
plumb	start plumb dict:wn:$1

type is	text
data matches	'\?([a-zA-Z].+)'
plumb	start rc -c 'pdictsearch '$1' >[2=1] | plumb -i -d edit -a ''action=showdata filename=/dict/?'$1''''

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].