Package: devscripts Version: 2.10.18.1 Severity: normal Hello,
I'm not completely sure this is a bug in checkbashisms, please reassign
it in case it's not.
I switched my /bin/sh to dash and so I'm checking that all the local
scripts works with the latter. Since my preferred tool for this scope
is checkbashisms, I was quite surprised when one "clean" script didn't
work with dash, giving the following error:
read: 19: Illegal option -n
Indeed, the POSIX `read` command [1] supports a single option, -r:
The following option is supported:
-r
Do not treat a backslash character in any special way. Consider
each backslash to be part of the input line.
Thx, bye,
Gismo / Luca
Footnotes:
[1] http://www.opengroup.org/onlinepubs/009695399/utilities/read.html
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.25-rc4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages devscripts depends on:
ii debianutils 2.28.4 Miscellaneous utilities specific t
ii dpkg-dev 1.14.16.6 package building tools for Debian
ii libc6 2.7-9 GNU C Library: Shared libraries
ii perl 5.8.8-12 Larry Wall's Practical Extraction
ii sed 4.1.5-6 The GNU sed stream editor
Versions of packages devscripts recommends:
ii fakeroot 1.9.3 Gives a fake root environment
-- no debconf information
pgp4yampegJqm.pgp
Description: PGP signature

