Article View: news.software.nntp
Article #14321Re: INN 1.5.1 "pgpverify" - broken?
From: Curt Erickson
Date: Wed, 22 Jan 1997 00:00
Date: Wed, 22 Jan 1997 00:00
51 lines
2086 bytes
2086 bytes
There is version 5 of perl which may help. Jim Seymour (jseymour@jimsun.medar.com) wrote: : 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:
<5c5915$7nd@borg.svpal.org>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-mailReferences:
<5c19ls$jk2$1@jimsun.uucp>Show Full Headers
Complete Article Headers
Message-ID: <5c5915$7nd@borg.svpal.org> Subject: Re: INN 1.5.1 "pgpverify" - broken? Date: Wed, 22 Jan 1997 00:00:00 +0000 From: curte@svpal.svpal.org (Curt Erickson) References: <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-mail X-Deja-AN: 211462370 Organization: Silicon Valley Public Access Link Newsgroups: news.software.nntp