Package: devscripts
Version: 2.10.26
Severity: normal
File: /usr/bin/checkbashisms
checkbashisms considers `kill -9` as a bashism:
$ echo "#!/bin/sh" > tmp
$ echo "kill -9 foo" >> tmp
$ checkbashisms tmp
possible bashism in tmp line 2 (kill -[0-9] or -[A-Z]):
kill -9 foo
Actually, according to POSIX, such a usage is perfectly valid:
$ man -e posix kill | grep ^SYNOPSIS -A 10 | grep .
SYNOPSIS
kill -s signal_name pid ...
kill -l [exit_status]
kill [-signal_name] pid ...
kill [-signal_number] pid ...
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages devscripts depends on:
ii debianutils 2.28.4 Miscellaneous utilities specific t
ii dpkg-dev 1.14.18 package building tools for Debian
ii libc6 2.7-10 GNU C Library: Shared libraries
ii perl 5.8.8-12 Larry Wall's Practical Extraction
ii sed 4.1.5-6 The GNU sed stream editor
--
Jakub Wilk
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]