From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25435 invoked by alias); 4 Feb 2012 08:55:28 -0000 Received: (qmail 25423 invoked by uid 22791); 4 Feb 2012 08:55:27 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from emh03.mail.saunalahti.fi (HELO emh03.mail.saunalahti.fi) (62.142.5.109) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 04 Feb 2012 08:55:13 +0000 Received: from saunalahti-vams (vs3-10.mail.saunalahti.fi [62.142.5.94]) by emh03-2.mail.saunalahti.fi (Postfix) with SMTP id 11632EBBC1 for ; Sat, 4 Feb 2012 10:55:12 +0200 (EET) Received: from emh02.mail.saunalahti.fi ([62.142.5.108]) by vs3-10.mail.saunalahti.fi ([62.142.5.94]) with SMTP (gateway) id A0799E0EADC; Sat, 04 Feb 2012 10:55:12 +0200 Received: from cante.cante.net (a91-155-176-245.elisa-laajakaista.fi [91.155.176.245]) by emh02.mail.saunalahti.fi (Postfix) with ESMTP id F1CBC2BD42 for ; Sat, 4 Feb 2012 10:55:10 +0200 (EET) Received: from jaalto by cante.cante.net with local (Exim 4.77) (envelope-from ) id 1RtbOu-0003EN-Pn for cygwin-apps@cygwin.com; Sat, 04 Feb 2012 10:55:16 +0200 From: Jari Aalto To: cygwin-apps@cygwin.com Subject: ITP checkbashisms -- Check for bashisms in /bin/sh scripts Mail-Copies-To: poster Mail-Followup-To: cygwin-apps@cygwin.com Date: Sat, 04 Feb 2012 08:55:00 -0000 Message-ID: <87k443htal.fsf@cante.cante.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jari.aalto@cante.net X-SA-Exim-Scanned: No (on cante.cante.net); SAEximRunCond expanded to false X-IsSubscribed: yes Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com X-SW-Source: 2012-02/txt/msg00021.txt.bz2 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