On 06/07/2008, Thomas Dickey <[EMAIL PROTECTED]> wrote:
> On Sun, 6 Jul 2008, Raphael Geissert wrote:
>
>
> > Package: dialog
> > Severity: important
> > Version: 1.1-20080316-1
> > User: [EMAIL PROTECTED]
> > Usertags: goal-dash
> >
> > Hello maintainer,
> >
> > While performing an archive wide checkbashisms (from the 'devscripts'
> package)
> > check I've found your package containing one or more /bin/sh scripts
> making
> > use of bashisms.
> >
> > checkbashisms' output:
> >
> > > possible bashism in
> ./usr/share/doc/dialog/examples/gauge2 line 11 (unsafe
> > > echo with backslash): echo "\\n"
> > >
> >
>
>  It's an escaped backslash, which is blessed here:
>
>
> http://www.opengroup.org/onlinepubs/007908799/xcu/echo.html

Under the XSI extensions section, which are not required by Debian
policy, thus the report.

Specially because:
$ bash -c 'echo "\\n"'
\n
$ dash -c 'echo "\\n"'


$ posh -c 'echo "\\n"'


$ zsh -c 'echo "\\n"'


$ ksh -c 'echo "\\n"'
\n
$ mksh -c 'echo "\\n"'


$ pdksh -c 'echo "\\n"'


(output ends here)

Hope you get what I mean.

>
>  --
>  Thomas E. Dickey
>  http://invisible-island.net
>  ftp://invisible-island.net
>

Cheers,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to