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
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
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
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
4 matches
Mail list logo