Fix the substitution print subcommand, it should only print if its
authorGlenn L McGrath <bug1@ihug.co.nz>
Sat, 30 Aug 2003 04:35:07 +0000 (04:35 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Sat, 30 Aug 2003 04:35:07 +0000 (04:35 -0000)
commit9b04f1841eb4ef9b88e525796cd7230f6c3c1c6e
tree0182f3773ca809ef13af1dc478a6dcb63b367dea
parent72f5f02184f8b1064e3dd9c8d33e65b64830340c
Fix the substitution print subcommand, it should only print if its
own substitution matched, not previous ones.
e.g
echo fooba | sed -n 's/foo//;s/bar/found/p'
shouldnt print anything
editors/sed.c