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 just the first characters or so.
Perhaps another bug?
btw: The out put from
printf "${file}" | sed --regexp-extended 's/(.)/\\\1/g'
alone is correct in dash:
\.\/\d\a\t\a\/\i\m\a\g\e\.\o\g\a
It's the command-substitution,.. which makes strange transformations.
Cheers,
Chris.
smime.p7s
Description: S/MIME cryptographic signature

