9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Steve Simon" <steve@quintile.net>
To: 9fans@9fans.net
Subject: Re: [9fans] sam command language question
Date: Mon, 20 Aug 2012 13:25:31 +0100	[thread overview]
Message-ID: <6dd2c451e1f881509a241b8d99cf1351@quintile.net> (raw)
In-Reply-To: <CAOEdRO0Hv7j8HW2UQSbMZ_PdjMtFdho_QYfs3iTvQTjQdaTsGA@mail.gmail.com>

I am confused, and appologise to all for the noise.

	,x/label="[^"]+"/ {
		x/ [a-z]/ | tr a-z A-Z
	}

does exactly what I wanted, I don't understand why in my toy tests it
didn't appear to work, probably a typo.

for the record I was tring to do this:

	label="Hello"
->
	label="Hello"      (i.e. unchanged)

	label="Hello world and other planets"
->
	label="Hello World And Other Planets"

-Steve



  reply	other threads:[~2012-08-20 12:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-20 11:12 Steve Simon
2012-08-20 11:55 ` Rudolf Sykora
2012-08-20 12:05 ` Rudolf Sykora
2012-08-20 12:15 ` Rudolf Sykora
2012-08-20 12:25   ` Steve Simon [this message]
2012-08-20 13:21     ` Rudolf Sykora

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=6dd2c451e1f881509a241b8d99cf1351@quintile.net \
    --to=steve@quintile.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).