🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #5104

Re: trn 3.1 : compilation problems, and Pnews problem

#5104
From: Mike Iglesias
Date: Wed, 28 Jul 1993 21:37
24 lines
1669 bytes
In article <236h1a$qt5@venus.haverford.edu>,
Erik Oliver <eoliver@ralph.cs.haverford.edu> wrote:
>Relating to the problem at hand, the Pnews w/ trn 3.1 seems to be having
>problems specifically it complains about too many arguments to test, I
>ran Pnews inside sh -v to get the following:
>
>if $test ! -f $newsgroups -a -x $rnlib/getactive; then
>    newsgroups="$tmp/Pnng.$$";
>    rmlist="$newsgroups";
>    cmdlist="$rnlib/getactive newsgroups $tmp/Pnng.$$ ; ";
>fi
>test: too many arguments

I fixed this on our DEC RISC Ultrix systems by putting the arguments to
test in double quotes:

   if $test "! -f $newsgroups -a -x $rnlib/getactive"; then



Mike Iglesias                        Internet:    iglesias@draco.acs.uci.edu
University of California, Irvine     BITNET:      iglesias@uci
Office of Academic Computing         uucp:        ...!ucbvax!ucivax!iglesias
Distributed Computing Support        phone:       (714) 856-6926
Technical Details
Message-ID: <2C56F193.23513@news.service.uci.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!usc!news.service.uci.edu!draco.acs.uci.edu!iglesias
References: <236h1a$qt5@venus.haverford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <2C56F193.23513@news.service.uci.edu>
Subject: Re: trn 3.1 : compilation problems, and Pnews problem
Date: Wed, 28 Jul 1993 21:37:23 +0000
From: iglesias@draco.acs.uci.edu (Mike Iglesias)
References: <236h1a$qt5@venus.haverford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!usc!news.service.uci.edu!draco.acs.uci.edu!iglesias
Nntp-Posting-Host: draco.acs.uci.edu
Newsgroups: news.software.readers
Organization: University of California, Irvine
Lines: 24