*BSD News Article 22197


Return to BSD News archive

Xref: sserve gnu.misc.discuss:11347 comp.os.386bsd.apps:531 comp.os.386bsd.bugs:1586
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!doc.ic.ac.uk!uknet!demon!awfulhak.demon.co.uk!awfulhak!brian
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: gnu.misc.discuss,comp.os.386bsd.apps,comp.os.386bsd.bugs
Subject: Re: RCS compile problem
Date: 11 Oct 93 00:08:26
Organization: Coverform Ltd.
Lines: 34
Message-ID: <BRIAN.93Oct11000826@awfulhak.demon.co.uk>
References: <299l07$qnl@news.ysu.edu>
NNTP-Posting-Host: awfulhak.demon.co.uk
In-reply-to: ap713@yfn.ysu.edu's message of 10 Oct 1993 18:41:11 GMT

In article <299l07$qnl@news.ysu.edu> ap713@yfn.ysu.edu (Christopher L. Mikkelson) writes:

     I am trying to compile RCS version 5.6.0.1 on 386bsd 0.1 +pk 0.2.3.
   It dosen't make it past the conf.h generation part.  conf.sh terminates
   with:
     + i=b
     + u=269
     + test 1 -lt 269
     + expr ( 1 + 269 ) / 2
     syntax error
     + M=
     + expr + 1
     syntax error
     + M1=
     + sed ,$s|^[^#/][^/]*|/* & */| a.ha
     sed: Unknown command
     + exit
   I have tried this with GNU sed 1.18 and an older version of the same
   Help!
		   thank you,
		       Chris Mikkelson
   -- 

Try changing the command to

    sed '1,$ s|^[^#/][^/]*|/* & */|' a.ha

I've seen some versions of sed that want a space after the "search string"
and before the command.  I'm also a bit dubious about the lack of the
"from" bit in the search spec.

Brian Somers <brian@awfulhak.demon.co.uk>
--
Brian <brian@awfulhak.demon.co.uk>