Bug#538100: dash makes strange things during command substitution

2023-02-26 Thread Ali Delldarr
On Thu, 23 Jul 2009 03:25:56 +0200 Christoph Anton Mitterer wrote: > Package: dash > Version: 0.5.5.1-2 > Severity: normal > > Hi. > > I've made some scripts where I pre-process an arbitrary file name for > some sed- and grep expressions. > As e.g. . and / (which can occur in filenames) may have s

Bug#538100: dash makes strange things during command substitution

2011-08-20 Thread Jonathan Nieder
retitle 538100 dash built-in echo expands \nnn sequences severity 538100 wishlist tags 538100 = upstream wontfix merge 550399 538100 quit Hi Christoph, Christoph Anton Mitterer wrote: > file_entry_quoted="$( printf "${file}" | sed --regexp-extended 's/(.)/\\\1/g' > )" > echo $file_entry_quoted

Bug#538100: dash makes strange things during command substitution

2009-07-23 Thread Christoph Anton Mitterer
I've just noticed something even more weird When using that weird "\.\/\d \/\i\m\g\e\.\o\g" string (with the tab and the 0x7's) as grep pattern, it actually matches lines that contain "./data/image.oga". When using --color=auto one sees, that the full "./data/image.oga" is matched, and not ju

Bug#538100: dash makes strange things during command substitution

2009-07-22 Thread Christoph Anton Mitterer
Package: dash Version: 0.5.5.1-2 Severity: normal Hi. I've made some scripts where I pre-process an arbitrary file name for some sed- and grep expressions. As e.g. . and / (which can occur in filenames) may have special meaning to sed and grep, I quote the each character of the filename wi