Package: file Version: 4.12-1 Severity: wishlist Tags: patch I have just changed /bin/sh from pointing to bash to dash and have been tracking down a few bashisms.
In the course of this I noticed that file identifies files with shebang of #!/bin/sh as Bourne shell scripts. This should really read POSIX compatible shell script. Patch to change attached. Thanks Mark -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (400, 'testing'), (300, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.16.1 Locale: LANG=en_GB, LC_CTYPE=iso_8859_1 (charmap=ISO-8859-1) (ignored: LC_ALL set to en_GB) Versions of packages libmagic1 depends on: ii libc6 2.3.6-7 GNU C Library: Shared libraries ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime Versions of packages file depends on: ii libc6 2.3.6-7 GNU C Library: Shared libraries ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime -- no debconf information
--- /usr/share/misc/file/magic 2004-12-06 09:55:53.000000000 +0000 +++ /tmp/magic 2006-05-23 14:42:51.000000000 +0100 @@ -2214,7 +2214,7 @@ # commands: file(1) magic for various shells and interpreters # 0 string : shell archive or script for antique kernel text -0 string/b #!\ /bin/sh Bourne shell script text executable +0 string/b #!\ /bin/sh POSIX shell script text executable 0 string/b #!\ /bin/csh C shell script text executable # korn shell magic, sent by George Wu, [EMAIL PROTECTED] 0 string/b #!\ /bin/ksh Korn shell script text executable