Package: devscripts Version: 2.10.61 Severity: wishlist File: /usr/bin/checkbashisms
Hi, via another bug (yet to file :-) I ran over a sort of bashisms checkbashisms doesn't yet recognise, or at least dash can't parse (haven't checked the POSIX standard about that syntax). For the following script checkbashisms doesn't report anything yet does dash fail to parse it while bash does: ---snip--- #!/bin/sh metric=0 echo $((metric++)) ---snap--- Dash works fine if I write the code like this ---snip--- #!/bin/sh metric=0 echo $((metric=metric+1)) ---snap--- Would be happy if checkbashisms would find that kind of bashisms in future, too. -- Package-specific info: --- /etc/devscripts.conf --- --- ~/.devscripts --- DEBUILD_DPKG_BUILDPACKAGE_OPTS="-k95930EDE" DSCVERIFY_KEYRINGS=$HOME/.gnupg/pubring.gpg DEBUILD_LINTIAN_OPTS="-I -i" DEBCHANGE_RELEASE_HEURISTIC=changelog -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (990, 'unstable'), (600, 'stable'), (500, 'testing'), (110, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-3-686 (SMP w/1 CPU core) 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 dpkg-dev 1.15.5.6 Debian package development tools ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib ii perl 5.10.1-11 Larry Wall's Practical Extraction Versions of packages devscripts recommends: pn <none> (no description available) ii 2.0a19-5.1 Web browser for X ii 5.0.340.0~svn20100228r40233-0u Chromium browser ii 0.9.1+git100228-~nightlybuild1 keyboard focused web browser with ii 7.19.7-1 Get a file from an HTTP, HTTPS or ii 1:1.12.13-12 Concurrent Versions System ii 2.14 Command-line tools to process Debi pn <none> (no description available) pn <none> (no description available) ii 0.9.5.1 Debian package upload tool ii 2.0.8 Circumvent Debian package dependen ii 1.14.4-1 Gives a fake root environment ii 1:1.7.0-1 fast, scalable, distributed revisi ii 1.4.10-2 GNU privacy guard - a free PGP rep ii 12.4-1.1+b1 feature-rich BSD mail(1) ii 3.5.8-1 Web browser based on Firefox ii 0.5.8-2 GTK+-based web browser that allows ii 2.13-1 Authen::SASL - SASL Authentication ii 0.57-2 Support for https protocol in LWP ii 2.005-2 Easy OO parsing of Debian control- ii 0.710.10-1 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.52-1 module to manipulate and access UR ii 5.834-1 Perl HTTP/WWW client/server librar ii 1.07-1 fast, lightweight YAML loader and ii 2.2-1+b1 Web browser running in both graphi ii 2.3.3 Debian package checker ii 3.2-23 Linux Standard Base version report ii 2.8.8dev.2-1 Text-mode WWW Browser with NLS sup ii 4.43-14 Compression method of 7z format in ii 2.5.7-1 on-line manual pager ii 1.4.3-1 scalable distributed version contr ii 0.2.2-1 fast, lightweight graphical web br ii 1.16.1-1 text mode WWW browser with vi like ii 2.1-2.1 Small portable web browser with CS ii 2.1-2.1 Small portable web browser with CS 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.3p1-3 secure shell (SSH) client, for sec ii 10.10.4742.gcc4.qt3 The Opera Web Browser ii 2.6-2 Apply a diff file to an original ii 0.3.1-2 Utilities to work with patches ii 0.0.2 Utilities for sensible alternative ii 4.5.19-2 A system call tracer ii 1.6.9dfsg-1 Advanced version control system ii 6.0-4 De-archiver for .zip files ii 0.5.2-4 WWW browsable pager with excellent ii 0.5-21 Compares two files word by word ii 1.12-1.1 retrieves files from the web Versions of packages devscripts suggests: ii build-essential 11.4 Informational list of build-essent ii cvs-buildpackage 5.23 A set of Debian package scripts fo ii devscripts-el 31.5 Emacs wrappers for the commands in pn gnuplot <none> (no description available) pn libfile-desktopentry-perl <none> (no description available) pn libnet-smtp-ssl-perl <none> (no description available) ii mutt 1.5.20-7 text-based mailreader supporting M ii svn-buildpackage 0.7.1 helper programs to maintain Debian ii w3m 0.5.2-4 WWW browsable pager with excellent -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org