summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>1996-01-22 08:06:13 +0000
committerWolfram Schneider <wosch@FreeBSD.org>1996-01-22 08:06:13 +0000
commit9bb31b4eef1a395ef96b9358a2dc5c2a426379a3 (patch)
tree12ec78ee75c7c198162b2a9f29aec83a8c51f147
parenta58206b6ea986dd43472b00e9eb71df8f7363af6 (diff)
Notes
-rwxr-xr-xusr.bin/killall/killall.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/killall/killall.pl b/usr.bin/killall/killall.pl
index e6a58b58cc57..a34ea647257d 100755
--- a/usr.bin/killall/killall.pl
+++ b/usr.bin/killall/killall.pl
@@ -33,7 +33,7 @@
# Note: work only with effective uid due the limit of procfs
# (eg. not with suid programs)
#
-# $Id: killall,v 1.2 1995/06/24 11:12:38 w Exp w $
+# $Id: killall.pl,v 1.1.1.1 1995/06/25 18:08:27 joerg Exp $
#
$ENV{'PATH'} = "/bin:/usr/bin";
@@ -59,7 +59,7 @@ while ($_ = $ARGV[0], /^-/) {
elsif (/^-l$/) { exec 'kill', '-l' }
elsif (/^-m$/) { $match = 1 }
elsif (/^-s$/) { $show = 1 }
- elsif (/^-([A-Za-z]+|[0-9]+)$/) { $signal = $1 }
+ elsif (/^-([a-z][a-z0-9]+|[0-9]+)$/i) { $signal = $1 }
}
$program = $_; &usage unless $program;