From owner-freebsd-doc Wed Mar 6 7:30:29 2002 Delivered-To: freebsd-doc@freebsd.org Received: from pittgoth.com (14.zlnp1.xdsl.nauticom.net [209.195.149.111]) by hub.freebsd.org (Postfix) with ESMTP id 6556337B400 for ; Wed, 6 Mar 2002 07:30:26 -0800 (PST) Received: from pittgoth.com (lcl234.zbzoom.net [208.236.36.234]) by pittgoth.com (8.11.6/8.11.6) with ESMTP id g26FWHq12132; Wed, 6 Mar 2002 10:32:18 -0500 (EST) (envelope-from darklogik@pittgoth.com) Message-ID: <3C8638BD.9030202@pittgoth.com> Date: Wed, 06 Mar 2002 10:41:49 -0500 From: Tom Rhodes Reply-To: darklogik@pittgoth.com User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.7) Gecko/20011221 X-Accept-Language: en-us MIME-Version: 1.0 To: Andrew McKay Cc: FreeBSD Doc List , pirat Subject: Re: fdp-primer: syntax error in exmaple 3.6 & exmaple 3.7 ? References: <20020306101125.J83038-100000@fluoxetine.lan> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Andrew McKay wrote: > 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 > > While your at it, add something about the use of &man.pkg.add.1 instead of &man.pkg_add.1; because the underscore "_" is an illegal character and will cause build fails. I was going to do it, but the possibility of obsoleting your work keeps this idea pushed back. In other doc-related news, I have never setup those sgml variables, just to see what would happen... With that in mind, I have had absolutly NO problem building or working with the doc system. To be more honest, I even forgot they were around... I'll look into that today hehe Enjoy -- Tom (Darklogik) Rhodes www.Pittgoth.com Gothic Liberation Front www.FreeBSD.org The Power To Serve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message