9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@labs.coraid.com>
To: 9fans@9fans.net
Subject: Re: [9fans] watching plumber
Date: Fri, 12 Mar 2010 19:39:33 -0500	[thread overview]
Message-ID: <283a86dd6eb3f7deb7fbc607facca4e6@coraid.com> (raw)
In-Reply-To: <a560a5d01003121616o209c6737mb6eae55cd2efee69@mail.gmail.com>

> Ok, thats fine. But
> ;9 echo abcdefdffghi | 9 sed 's/(abc(d?f)*)(ghi)/\1/'
>
> this I don't understand...
> maybe it's too late for me...

you're re doesn't match at all.  therefore no
substitutation is made.  perhaps it would be
easier to see with this formulation:

9 echo abcdefdffghi | 9 sed -n 's/(abc(d?f)*)(ghi)/\1/p'

- erik



  reply	other threads:[~2010-03-13  0:39 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 [this message]
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
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=283a86dd6eb3f7deb7fbc607facca4e6@coraid.com \
    --to=quanstro@labs.coraid.com \
    --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).