Package: devscripts
Version: 2.10.69
Severity: wishlist
File: /usr/bin/checkbashisms

checkbashisms should warn about constructs like this:

foo=fnord
i=2
echo ${foo:$i}

Even if $i would be set to values which lead to valid, bashism-free code
(i.e. like "-bla", "=bla", "?bla" or "+bla"), dash chokes over it with
"Bad substitution".

Thanks to RaphaĆ«l HALIMI <[email protected]> spotting this in the
wild and reporting it as http://bugs.debian.org/605203

-- Package-specific info:
--- /etc/devscripts.conf ---

--- ~/.devscripts ---
DSCVERIFY_KEYRINGS=/home/abe/.gnupg/pubring.gpg
DEBUILD_LINTIAN_OPTS="-iIE --pedantic"
-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (400, 'stable'), (110, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages devscripts depends on:
ii  dpkg-dev                      1.15.8.8   Debian package development tools
ii  libc6                         2.11.2-8   Embedded GNU C Library: Shared lib
ii  perl                          5.10.1-17  Larry Wall's Practical Extraction 

Versions of packages devscripts recommends:
ii   3.1.12-1                                Delayed job execution and batch pr
ii   8.1.2-0.20100314cvs-1                   simple mail user agent
ii   2.3.0~beta3-1                           easy to use distributed version co
ii   2.0a19-5.1+b1                           Web browser for X
ii   9.0.597.45~r70550-1                     Chromium browser
ii   0.9.3+git110118-~nightlybuild1295305621 keyboard focused web browser with 
ii   7.21.2-4                                Get a file from an HTTP, HTTPS or 
ii   1:1.12.13-12                            Concurrent Versions System
ii   2.4.4-3                                 a distributed, interactive, smart 
ii   2.14.5                                  Command-line tools to process Debi
ii   2010.12.29                              GnuPG keys of Debian Developers
ii   0.9.6.1                                 Debian package upload tool
ii   2.6.6                                   utility to upload Debian packages
ii   0.12~pre5-2                             advanced text-mode WWW browser
ii   2.2.0-11.1                              powerful clone of the vi/ex text e
ii   2.30.6-1                                Intuitive GNOME web browser
ii   2.0.8                                   Circumvent Debian package dependen
ii   1.14.5-1                                Gives a fake root environment
ii   1:1.7.2.3-2.2                           fast, scalable, distributed revisi
ii   1:1.7.2.3-2.2                           fast, scalable, distributed revisi
ii   1.4.10-4                                GNU privacy guard - a free PGP rep
ii   12.4-2                                  feature-rich BSD mail(1)
ii   2.0.11-2                                Iceape Navigator (Internet browser
ii   3.6.13-2                                Web browser based on Firefox
ii   0.5.8-4                                 GTK+-based web browser that allows
ii   4:4.4.5-2                               advanced file manager, web browser
ii   2.1500-1                                Authen::SASL - SASL Authentication
ii   0.57-2                                  Support for https protocol in LWP
ii   2.27-1                                  Perl module to parse and convert t
ii   2.005-2                                 Easy OO parsing of Debian control-
ii   0.712-2                                 Perl implementation of a SOAP clie
ii   0.2-4+b1                                Perl extension for retrieving term
ii   1.2000-1                                collection of modules to manipulat
ii   1.56-1                                  module to manipulate and access UR
ii   5.837-1                                 simple and consistent interface to
ii   1.17-1                                  Perl module providing a fast, ligh
ii   2.3~pre1-1                              Web browser running in both graphi
ii   2.4.3                                   Debian package checker
ii   3.2-26                                  Linux Standard Base version report
ii   2.8.8dev.7-1                            Text-mode WWW Browser with NLS sup
ii   4.43-14                                 Compression method of 7z format in
ii   1:20081101-2                            Transitional package for mailx ren
ii   2.5.7-8                                 on-line manual pager
ii   1.6.4-1                                 scalable distributed version contr
ii   0.2.7-1.1                               fast, lightweight graphical web br
ii   2.1-2.1                                 Small portable web browser with CS
ii   2.1-2.1                                 Small portable web browser with CS
ii   1:5.5p1-6                               secure shell (SSH) client, for sec
ii   11.00.1156                              A fast and secure web browser and 
ii   2.6-3                                   Apply a diff file to an original
ii   0.3.1-2                                 Utilities to work with patches
ii   0.5.0-2                                 KDE web browser based on Webkit
ii   0.0.6                                   Utilities for sensible alternative
ii   4.5.20-2                                A system call tracer
ii   1.6.12dfsg-4                            Advanced version control system
ii   0.4.1-4                                 simple web browser
ii   1.3.5+dfsg-16                           GNU Arch revision control system
ii   6.0-4                                   De-archiver for .zip files
ii   0.0.0~git.20100403-3                    Lightweight Webkit browser followi
ii   0.5.2-10                                WWW browsable pager with excellent
ii   0.6.3-1                                 Compares two files word by word
ii   1.12-2.1                                retrieves files from the web
ii   5.0.0-2                                 XZ-format compression utilities

Versions of packages devscripts suggests:
ii  build-essential        11.5              Informational list of build-essent
ii  cvs-buildpackage       5.23              A set of Debian package scripts fo
ii  devscripts-el          34.1              Emacs wrappers for the commands in
pn  gnuplot                <none>            (no description available)
pn  libfile-desktopentry-p <none>            (no description available)
pn  libnet-smtp-ssl-perl   <none>            (no description available)
ii  mutt                   1.5.20-9+squeeze1 text-based mailreader supporting M
ii  svn-buildpackage       0.8.3             helper programs to maintain Debian
ii  w3m                    0.5.2-10          WWW browsable pager with excellent

-- no debconf information

Reply via email to