diff --git a/users/sterni/acme/plumb/man b/users/sterni/acme/plumb/man index ddc2259c4..7845dc779 100644 --- a/users/sterni/acme/plumb/man +++ b/users/sterni/acme/plumb/man @@ -1,4 +1,4 @@ # 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')''' +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')''' diff --git a/users/sterni/acme/plumb/tvl b/users/sterni/acme/plumb/tvl index 789a46b84..994b4129a 100644 --- a/users/sterni/acme/plumb/tvl +++ b/users/sterni/acme/plumb/tvl @@ -4,24 +4,24 @@ # TVL short links that go to the browser, e.g. cl/8413, b/187 -type is text -data matches 'cl/([0-9]+)' -data set https://cl.tvl.fyi/c/depot/+/$1 -plumb to web -plumb start web $data +type is text +data matches 'cl/([0-9]+)' +data set https://cl.tvl.fyi/c/depot/+/$1 +plumb to web +plumb start web $data -type is text -data matches 'b/([0-9]+)' -data set https://b.tvl.fyi/issues/$1 -plumb to web -plumb start web $data +type is text +data matches 'b/([0-9]+)' +data set https://b.tvl.fyi/issues/$1 +plumb to web +plumb start web $data # TVL revision short links e.g. r/9000, r/3 -type is text -data matches 'r/([0-9]+)' -data set refs/r/$1 -plumb start rc -c 'cd '$wdir'; cd `{git rev-parse --show-toplevel} && git show --pretty=fuller '$data' | plumb -i -d edit -a ''action=showdata filename=+git/'$data''' ' +type is text +data matches 'r/([0-9]+)' +data set refs/r/$1 +plumb start rc -c 'cd '$wdir'; cd `{git rev-parse --show-toplevel} && git show --pretty=fuller '$data' | plumb -i -d edit -a ''action=showdata filename=+git/'$data''' ' # TVL target short links @@ -43,36 +43,36 @@ depotpath = '//('$depotpathchar'+)' # We impose the same restrictions for the initial path, # but are liberal in the file name -type is text -data matches '//('$depotchar'+/)?([^ ]*'$depotpathchar')' -arg isfile $depot/$1$2 -data set $file -plumb to edit -plumb client $editor +type is text +data matches '//('$depotchar'+/)?([^ ]*'$depotpathchar')' +arg isfile $depot/$1$2 +data set $file +plumb to edit +plumb client $editor # TVL short links to directories in depot, mapped to default.nix, e.g. //nix/readTree -type is text -data matches $depotpath -arg isfile $depot/$1/default.nix -data set $file -plumb to edit -plumb client $editor +type is text +data matches $depotpath +arg isfile $depot/$1/default.nix +data set $file +plumb to edit +plumb client $editor # TVL short links to targets that aren't expressed by default.nix, e.g. //third_party/lisp/alexandria -type is text -data matches $depotpath -arg isfile $depot/$1.nix -data set $file -plumb to edit -plumb client $editor +type is text +data matches $depotpath +arg isfile $depot/$1.nix +data set $file +plumb to edit +plumb client $editor # TVL short links to directories in depot (without default.nix), e.g. //ops/machines -type is text -data matches $depotpath -arg isdir $depot/$1 -data set $dir -plumb to edit -plumb client $editor +type is text +data matches $depotpath +arg isdir $depot/$1 +data set $dir +plumb to edit +plumb client $editor