From af78a4cd2b73800af86db8d999d80b1ef0e9bd75 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 2 Mar 2004 23:11:58 +0000 Subject: Little tweaks and documentation. --- plumb/basic | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'plumb/basic') diff --git a/plumb/basic b/plumb/basic index 918cc51b..23fd7adc 100644 --- a/plumb/basic +++ b/plumb/basic @@ -119,7 +119,10 @@ dst is postscript arg isfile $data plumb start gv $data -type is text -data matches 'Local (.*)' -plumb to none -plumb start rc -c $1 +# urls to internet explorer on another machine +type is text +data matches '(https?|ftp|file|gopher|mailto|news|nntp|telnet|wais|prospero)://[a-zA-Z0-9_@\-]+([.:][a-zA-Z0-9_@\-]+)*/?[a-zA-Z0-9_?,%#~&/\-+=@]+([:.][@a-zA-Z0-9_?,%#~&/\-+=]+)*' +plumb to web +plumb start /usr/rsc/bin/web $0 +# plumb start winstart iexplore -new $0 + -- cgit v1.2.3