9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Geoff Collyer <geoff@collyer.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] plumbing safari
Date: Mon, 21 Jun 2004 17:45:28 -0700	[thread overview]
Message-ID: <b78d11df50c380682248bd866c7fc26b@collyer.net> (raw)
In-Reply-To: <7359f0490406211520106d518a@mail.gmail.com>

I use the OS X open command, which seems to be part of something like
plumbing.  From my lib/plumbing:

# URL with method goes to my mac
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 ssh mac-gbe open ''''$0''''

# URL without method goes to my mac, but os x requires ``http://''
type is text
data matches 'www\.[a-zA-Z0-9_@]+([.:][a-zA-Z0-9_@]+)*/?[a-zA-Z0-9_?,%#~&/\-=]+([:.][a-zA-Z0-9_?,%#~&/\-=]+)*'
plumb to web
plumb start ssh mac-gbe open http://''''$0''''



  parent reply	other threads:[~2004-06-22  0:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-21 22:20 Rob Pike
2004-06-21 22:25 ` Charles Forsyth
2004-06-21 22:29   ` Rob Pike
2004-06-21 22:41   ` Mark F Rodriguez
2004-06-21 22:44   ` ron minnich
2004-06-22  0:45 ` Geoff Collyer [this message]
2004-06-22  1:24   ` Rob Pike
2004-06-22  1:26     ` Geoff Collyer
2004-06-22 14:14   ` ron minnich
2004-06-22 16:21     ` Jeff Sickel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b78d11df50c380682248bd866c7fc26b@collyer.net \
    --to=geoff@collyer.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).