9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Rudolf Sykora <rudolf.sykora@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] regexp metacharacter difficulty inside grap
Date: Tue, 10 Aug 2010 10:54:32 +0200	[thread overview]
Message-ID: <AANLkTikOZNeTitYdjA5=5X_8q-3nqUwbYUVR3Dn7E0BH@mail.gmail.com> (raw)
In-Reply-To: <09DB2D65-A18A-493E-9886-2D5D3334F460@corpus-callosum.com>

>                 yo = sh { echo $3 | sed 's/\)#//' }

just thinking...
there might be a differenc between the above and

>        cpu% echo '4.9534)#' | sed 's/\)#//'

thanks to the apostrophes...
if you just write
echo 4.95)
which I think is what happens in the former case, you get the error...
about ')' as you get

Ruda



  parent reply	other threads:[~2010-08-10  8:54 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-10  5:23 Jeff Sickel
2010-08-10  8:37 ` Steve Simon
2010-08-10  8:54 ` Rudolf Sykora [this message]
2010-08-10  9:14 ` Rudolf Sykora
2010-08-10 11:45 ` erik quanstrom
2010-08-10 13:06   ` Jeff Sickel
2010-08-10 13:10 ` Federico G. Benavento
2010-08-10 13:41   ` Rudolf Sykora
2010-08-10 13:58     ` Jeff Sickel
2010-08-10 14:11       ` erik quanstrom
2010-08-10 15:52         ` Russ Cox
2010-08-11  5:41           ` Jeff Sickel
2010-08-17  6:07           ` [9fans] iwp9 macros.ms + mkfile, (was--Re: regexp metacharacter difficulty inside grap) Jeff Sickel
2010-08-17 16:21             ` Russ Cox
2010-08-18  1:28               ` Jeff Sickel
2010-08-18  1:59                 ` Russ Cox
2010-08-20 14:58                   ` Jeff Sickel
2010-08-21  2:22                     ` Russ Cox

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='AANLkTikOZNeTitYdjA5=5X_8q-3nqUwbYUVR3Dn7E0BH@mail.gmail.com' \
    --to=rudolf.sykora@gmail.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).