Date: Wed, 06 Mar 2002 10:41:49 -0500 From: Tom Rhodes <darklogik@pittgoth.com> To: Andrew McKay <andy@openirc.co.uk> Cc: FreeBSD Doc List <freebsd-doc@FreeBSD.ORG>, pirat <pirat@access.inet.co.th> Subject: Re: fdp-primer: syntax error in exmaple 3.6 & exmaple 3.7 ? Message-ID: <3C8638BD.9030202@pittgoth.com> References: <20020306101125.J83038-100000@fluoxetine.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C8638BD.9030202>