[TUHS] RegExp decision for meta characters: Circumflex

markus schnalke meillo at marmaro.de
Fri Sep 17 20:10:28 AEST 2021


Hoi.

[2021-09-17 11:32] Rob Pike <robpike at 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


More information about the TUHS mailing list