Article View: news.software.nntp
Article #14227INN 1.5.1 "pgpverify" - broken?
From: Jim Seymour
Date: Mon, 20 Jan 1997 00:00
Date: Mon, 20 Jan 1997 00:00
45 lines
1921 bytes
1921 bytes
I know nothing of perl, so please bear with me on the following...
There I was, going along merrily, following the README.pgp
instructions when:
$ pgpverify </tmp/sample.control
/^.*/)/: unmatched () in regexp at pgpverify line 23.
$
Huh? So I take a look at pgpverify and find...
$0 =~ s(^.*/)(); # trim /path/to/prog to prog
Now that doesn't look to me like any kind of balanced regular
expression *I've* ever seen but, like I said, Jim don't know
perl. So I take a look at the manual page. Hmmm... The
manual page for perl *seems* to indicate that perl's regex
syntax is pretty-much like all the other regex syntax I've
seen before. So I change the offending line to read:
$0 =~ s/^.*\///; # trim /path/to/prog to prog
And it's fixed!
What's up? Could it be because I've got a really old version of
perl? Perl -v reports:
This is perl, version 4.0
$RCSfile: perl.c,v $$Revision: 4.0.1.6 $$Date: 91/11/11 16:38:45 $
Patch level: 19
Copyright (c) 1989, 1990, 1991, Larry Wall
Regards,
Jim
--
Jim Seymour | I'm posting from a new newsfeed and
jimsun!jseymour@medar.com | newsreader installation. Please bear
| with me while I work the bugs out.
|
Technical Details
Message-ID:
<5c19ls$jk2$1@jimsun.uucp>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <5c19ls$jk2$1@jimsun.uucp> Subject: INN 1.5.1 "pgpverify" - broken? Date: Mon, 20 Jan 1997 00:00:00 +0000 From: jseymour@jimsun.medar.com (Jim Seymour) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 211162403 Organization: No Particular Organization Reply-to: jimsun!jseymour@medar.com (Jim Seymour) Newsgroups: news.software.nntp