From owner-freebsd-hackers Sat Sep 2 18:09:30 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id SAA17049 for hackers-outgoing; Sat, 2 Sep 1995 18:09:30 -0700 Received: (from gclarkii@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id SAA17040 ; Sat, 2 Sep 1995 18:09:29 -0700 From: Gary Clark II Message-Id: <199509030109.SAA17040@freefall.FreeBSD.org> Subject: Re: sgmlfmt doesn't work under Perl5.001 ! To: jehamby@lightside.com (Jake Hamby) Date: Sat, 2 Sep 1995 18:09:29 -0700 (PDT) Cc: freebsd-hackers@freebsd.org In-Reply-To: from "Jake Hamby" at Sep 2, 95 00:19:38 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1566 Sender: hackers-owner@freebsd.org Precedence: bulk > > When I tried to run sgmlfmt(1) tonight, after upgrading from the Perl that > came with FreeBSD (4.036?) to 5.001m, it gives me these errors and then > quits: > > buk: {170} sgmlfmt > Literal @sect now requires backslash at /usr/bin/sgmlfmt line 208, within > string > /usr/bin/sgmlfmt has too many errors. > > Is this a bug in sgmlfmt or just Perl5.001 not being backwards compatible > with 4.036? At any rate, when I installed perl it made a link from > /usr/local/bin/perl (where I installed it) to /usr/bin/perl (where the > old FreeBSD version was). My fault for allowing it to, but now what am > I supposed to do? Tomorrow I'll have a look at either fixing sgmlfmt to > work with Perl5 or just rebuilding Perl4.036 from source... Any > suggestions? > Hi, This is one of the few points that 5.X Perl breaks for 4.X scripts. Just follow the directions and escape the '@' and it will work. I would however also re-install 4.036 into /usr/bin.. > ------------------------------------------------------------------------------- > Jake Hamby | E-Mail: jehamby@lightside.com > Student, Cal Poly University, Pomona | System Administrator, JPL > ------------------------------------------------------------------------------- Gary -- Gary Clark II (N5VMF) | FreeBSD support and service gclarkii@FreeBSD.ORG | mail info@gbdata.com for information FreeBSD FAQ at ftp.FreeBSD.ORG in ~pub/FreeBSD/FreeBSD-current/src/share/FAQ/Text/FreeBSD.FAQ