This is convention in Plan 9 and e.g. the plumber will reformat the rules this way when they are read back via `9p read plumb/rules`. Change-Id: I53543d774c11789c8352e2e632678313037c5555 Reviewed-on: https://cl.tvl.fyi/c/depot/+/13048 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Autosubmit: sterni <sternenseemann@systemli.org>
4 lines
228 B
Bash
4 lines
228 B
Bash
# Man pages (taken from /plumb/basic), e.g. man(1)
|
|
type is text
|
|
data matches '([a-zA-Z¡-0-9_\-./]+)\(([1-8])\)'
|
|
plumb start rc -c 'man '$2' '$1' >[2=1] | nobs | plumb -i -d edit -a ''action=showdata filename=/man/'$1'('$2')'''
|