Public bug reported: Compare
$ sed 's/c*$/x/g' <<<abc abx $ s2p 's/c*$/x/g' | perl - <(echo abc) abxx $ sed's behaviour is correct for sed. The Perl that s2p(1) produces doesn't do the equivalent substitution, instead matching zero c's and the end of the string after the first substitution of c by x. ** Affects: perl (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1008584 Title: perl's s2p(1) produces non-equivalent perl for simple sed substitution To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1008584/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs