Thread (1 message) 1 message, 1 author, 2016-06-15
  • (off-list ancestor, not in this archive)
  • Re: Help a sed noob · David Kastrup <hidden> · 2016-06-15

Re: Help a sed noob

From: David Kastrup <hidden>
Date: 2016-06-15 22:43:26

martin f krafft [off-list ref] writes:
also sprach Simon 'corecode' Schubert [off-list ref] [2007.08.04.1426 +0200]:
quoted
s// is "match last regexp, so s/// is "match last regexp and replace with 
empty string.
This fact is not in the manpage, AFAICT, at least not on Debian
systems.
IIRC, this is a traditional _ed_ feature.  I don't think it has ever
been a traditional part of _sed_, but maybe some implementations have
adopted this usage.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help