9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] acme g/$/ funny
@ 2008-07-17 10:03 roger peppe
  2008-07-17 12:44 ` Charles Forsyth
  2008-07-17 13:07 ` Pietro Gagliardi
  0 siblings, 2 replies; 5+ messages in thread
From: roger peppe @ 2008-07-17 10:03 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Edit ,x/.*/g/$/a/foo/

shouldn't this append "foo" after every line?

sam gives slightly different behaviour here
(but still questionable) - it appends "foo" after
every empty line.

is this actually a bug, or have i misunderstood the
way that '$' is meant to work?

it does seem strange that in the following edit
command, the guard never matches anything.

Edit ,x/foo$/g/foo$/d



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-07-17 14:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-17 10:03 [9fans] acme g/$/ funny roger peppe
2008-07-17 12:44 ` Charles Forsyth
2008-07-17 13:07 ` Pietro Gagliardi
2008-07-17 14:01   ` roger peppe
2008-07-17 14:43   ` Russ Cox

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