9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] watching plumber
Date: Sun, 14 Mar 2010 16:11:56 -0400	[thread overview]
Message-ID: <32a4695719575c9219c49b4ec55dd1d3@ladd.quanstro.net> (raw)
In-Reply-To: <a560a5d01003140855u1a945d8eqebf550447f082ea0@mail.gmail.com>

> Well. So now I just don't understand how the examples in
> Plumbing and Other Utilities by Rob Pike, page 11
> could work... Was there a rewrite? The example there is no longer
> valid... :( That cost me quite some time...

it is a very good question that should be answered.

for reference, the first example on p. 11 is:

	# rule set for microsoft word documents
	type is text
	data matches '[a-zA-Z0-9_\-./]+'
	data matches '([a-zA-Z0-9_\-./]+)\.doc'
	arg isfile $0
	plumb start doc2txt $data | \
	    plumb -i -d edit -a action=showdata -a filename=$0


it doesn't appear that plumber has had any changes
since the beginning of sources.  does anyone with a
2e licence know if plumber used to accept rules
like this; that is shell script fragments?

- erik



  reply	other threads:[~2010-03-14 20:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-12 23:25 Rudolf Sykora
2010-03-12 23:54 ` erik quanstrom
2010-03-13  0:16   ` Rudolf Sykora
2010-03-13  0:39     ` erik quanstrom
2010-03-13  8:19       ` Rudolf Sykora
2010-03-13 10:45 ` Rudolf Sykora
2010-03-13 15:31   ` erik quanstrom
2010-03-13 17:14     ` Rudolf Sykora
2010-03-13 19:18       ` Rudolf Sykora
2010-03-13 23:05         ` erik quanstrom
2010-03-14 15:55           ` Rudolf Sykora
2010-03-14 20:11             ` erik quanstrom [this message]
2010-03-15  4:53               ` Anthony Sorace
2010-03-18 15:34                 ` erik quanstrom

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=32a4695719575c9219c49b4ec55dd1d3@ladd.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /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).