From owner-freebsd-doc Wed Mar 6 2:48: 7 2002 Delivered-To: freebsd-doc@freebsd.org Received: from blueyonder.co.uk (pcow058o.blueyonder.co.uk [195.188.53.98]) by hub.freebsd.org (Postfix) with ESMTP id C532237B402 for ; Wed, 6 Mar 2002 02:48:03 -0800 (PST) Received: from pcow058m.blueyonder.co.uk ([127.0.0.1]) by blueyonder.co.uk with Microsoft SMTPSVC(5.5.1877.757.75); Wed, 6 Mar 2002 10:23:58 +0000 Received: from fluoxetine.lan (unverified [62.31.193.116]) by pcow058m.blueyonder.co.uk (Content Technologies SMTPRS 4.2.9) with ESMTP id ; Wed, 6 Mar 2002 10:23:57 +0000 Date: Wed, 6 Mar 2002 10:24:24 +0000 (GMT) From: Andrew McKay X-X-Sender: andy@fluoxetine.lan To: FreeBSD Doc List Cc: pirat Subject: Re: fdp-primer: syntax error in exmaple 3.6 & exmaple 3.7 ? In-Reply-To: <20020306143149.A2559@radwaste.oaep.go.th> Message-ID: <20020306101125.J83038-100000@fluoxetine.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 6 Mar 2002, pirat wrote: > am not quite sure i understand it correctly or not. as appear in exmaple > 3.6 & example 3.7 of the fdp-primer, an environment variable > SGML_CATALOG_FILES setting is quite unusaul. the last two lines should > not have and equal sign (=) For the csh/tcsh (example 3.7) section you are correct, the lines should not have '=' in them. In the previous example the '=' should indeed be present and is used correctly. This is one of those annoying syntax differences between sh and csh. There is also a problem with the last line setting the variable up (the one before the export for sh/bash or the last one for csh/tcsh) in that it is missing a :$SGML_CATALOG_FILES at the end of it. Thus, using the examples as is, the SGML_CATALOG_FILES variable will be set to /usr/doc/en_US.ISO8859-1/share/sgml/catalog regardless which is...wrong. I'm currently working on the primer (very close to a first patch in fact) which addresses a number of issues so I will add this in at the same time. Thanks for spotting it :) Andy -- Andrew McKay To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message