This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
ITP checkbashisms -- Check for bashisms in /bin/sh scripts
- From: Jari Aalto <jari dot aalto at cante dot net>
- To: cygwin-apps at cygwin dot com
- Date: Sat, 04 Feb 2012 10:55:14 +0200
- Subject: ITP checkbashisms -- Check for bashisms in /bin/sh scripts
wget --recursive --no-host-directories --cut-dirs=3 \
http://cante.net/~jaalto/tmp/cygwin/checkbashisms/checkbashisms-2.11.3-1-src.tar.bz2 \
http://cante.net/~jaalto/tmp/cygwin/checkbashisms/checkbashisms-2.11.3-1.tar.bz2 \
http://cante.net/~jaalto/tmp/cygwin/checkbashisms/setup.hint
checkbashisms script has been included in Debian since 200x (don't know
exatly; its git log starts in 2007). It's part of the devsripts in Debian.
To check build:
tar -xf check*.bz2
./check*.sh --color --verbose all
Jari
[ setup.hint ]
sdesc: "Check for bashisms in /bin/sh scripts"
ldesc: "Perform basic checks on /bin/sh shell scripts for the possible
presence of bashisms. It takes the names of the shell scripts on the
command line, and outputs warnings if possible bashisms are detected.
Note that the definition of a bashism in this context roughly equates
to 'a shell feature that is not required to be supported by POSIX';
this means that some issues flagged may be permitted under optional
sections of POSIX, such as XSI or User Portability."
category: Perl Utils
requires: perl