Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2002 10:24:24 +0000 (GMT)
From:      Andrew McKay <andy@openirc.co.uk>
To:        FreeBSD Doc List <freebsd-doc@freebsd.org>
Cc:        pirat <pirat@access.inet.co.th>
Subject:   Re: fdp-primer: syntax error in exmaple 3.6 & exmaple 3.7 ?
Message-ID:  <20020306101125.J83038-100000@fluoxetine.lan>
In-Reply-To: <20020306143149.A2559@radwaste.oaep.go.th>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <andy@openirc.co.uk>


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?20020306101125.J83038-100000>