Bug#754057: perl: erroneous quoting in Makefile.SH

2015-04-18 Thread Niko Tyni
Control: forwarded -1 https://rt.perl.org/Ticket/Display.html?id=124343 On Wed, Apr 15, 2015 at 10:49:31PM +0300, Niko Tyni wrote: > On Mon, Jul 07, 2014 at 09:30:20AM +0300, Niko Tyni wrote: > > > echo "$1" | sed 's/\([^a-zA-Z0-9.:_\-\/]\)/\\\1/g' ;; > (My, what a mess.) > while the suggested

Bug#754057: perl: erroneous quoting in Makefile.SH

2015-04-15 Thread Niko Tyni
On Mon, Jul 07, 2014 at 09:30:20AM +0300, Niko Tyni wrote: > echo "$1" | sed 's/\([^a-zA-Z0-9.:_\-\/]\)/\\\1/g' ;; > > should possibly be > > echo "$1" | sed 's/\([^a-zA-Z0-9.:_\/-]\)/\\\1/g' ;; (My, what a mess.) To expand on this a bit, the (GNU) sed manual states in the 'Regular Expressio