[Pkg-xfce-devel] Bug#530203: Bug#530203: Bug#530203: thunar-thumbnailers: bashism in /bin/sh script

Raphael Geissert atomo64 at gmail.com
Wed Aug 5 16:11:20 UTC 2009


Hi,

Sorry for the very late response.

On Thursday 16 July 2009 04:20:50 Yves-Alexis Perez wrote:
> On jeu, 2009-07-16 at 11:05 +0200, Raphael Geissert wrote:
> > > This is looks like a false positive, \begin{document} is a latex
> > > instruction. Or do you mean that backslash should be protected in sh
> > > mode?
> >
> > That's  exactly what needs to be done. Notice the difference:
> > $ bash -c 'echo "foo \bash"'
> > foo \bash
> > $ dash -c 'echo "foo \bash"'
> > fooash
>
> Hmhm ok. And do you have an idea how to protect it?
>

Yes:

printf "%s\n" "\begin{document}"

$ bash -c 'printf "%s\n" "\begin{document}"'
\begin{document}
$ dash -c 'printf "%s\n" "\begin{document}"'
\begin{document}

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net





More information about the Pkg-xfce-devel mailing list