[gnuwin32 - Help] sed -n not working as expected
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.windows.gnu.user |
|---|---|
| Message-ID | <[email protected]> |
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=6411783
By: mastacheata
Hello,
command | sed -n /regex/{N;p}
should print the line right after the matched one.
Instead it prints both lines, the matched one and the one behind that.
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=74807
------------------------------------------------------------------------------