The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: markus schnalke <meillo@marmaro.de>
To: Rob Pike <robpike@gmail.com>
Cc: TUHS main list <tuhs@minnie.tuhs.org>
Subject: Re: [TUHS] RegExp decision for meta characters: Circumflex
Date: Fri, 17 Sep 2021 12:10:28 +0200	[thread overview]
Message-ID: <1mRApA-0wG-00@marmaro.de> (raw)
In-Reply-To: <CAKzdPgyos3psLGBiVde3M0OkpR2FW7483+5NFnM0XX316Cp_4g@mail.gmail.com>

Hoi.

[2021-09-17 11:32] Rob Pike <robpike@gmail.com>
>
> You'd have to ask ken why he chose the characters he did, but I can answer the
> second question. The beginning and end of line are the same. If you make ^ mean
> both beginning and end of line, what does this ed command do:
> 
> s/^/x/
> 
> Which end gets the x?

Perfect answer! I just never thought about replacing. *oops*
Now that's obvious. ;-)


meillo

  parent reply	other threads:[~2021-09-17 10:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-17  8:52 markus schnalke
2021-09-17  9:32 ` Rob Pike
2021-09-17  9:32   ` Rob Pike
2021-09-17 10:10   ` markus schnalke [this message]
2021-09-17 16:40 Douglas McIlroy
2021-09-17 20:40 ` Chris Torek
2021-09-18  1:03   ` Greg 'groggy' Lehey
2021-09-18  1:23     ` Bakul Shah

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=1mRApA-0wG-00@marmaro.de \
    --to=meillo@marmaro.de \
    --cc=robpike@gmail.com \
    --cc=tuhs@minnie.tuhs.org \
    --subject='Re: [TUHS] RegExp decision for meta characters: Circumflex' \
    /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

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).