From 43bb8ec0ee7e334ae9c9426f2866ca8095edb3c2 Mon Sep 17 00:00:00 2001 From: brian d foy Date: Wed, 6 Sep 2023 15:03:55 -0400 Subject: [PATCH] don't use /a thing because that's a v5.14 thing. Oops. This is my fault for suggesting it. --- bin/nl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/nl b/bin/nl index 4ad41e42..095eb2a6 100755 --- a/bin/nl +++ b/bin/nl @@ -86,7 +86,7 @@ else { } if (defined $startnum) { - if ($startnum !~ m/\A[\+\-]?\d+\Z/a) { + if ($startnum !~ m/\A[\+\-]?[0-9]+\Z/) { warn "$program: invalid starting line number: '$startnum'\n"; exit EX_FAILURE; }