This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]