On Mon, 2002-07-29 at 20:59, Billy Nadeau wrote:
> NIS_EXISTS = ${lookup {$local_part} nis {passwd.byname} }
> NIS_USER = ${extract{3}{:}{ ${lookup {$local_part} nis {passwd.byname} } }}
> NIS_HOME = ${extract{6}{:}{ ${lookup {$local_part} nis {passwd.byname} } }}
>
>
> while require_files outputs:
> failed to expand "${extract{6}{" for require_files: missing } at end of string
>
A quick guess is that this is the 'doubling colon' problem.
Require_files is a colon-separated list of files, so if you want to use
a colon as part of a filename (or a lookup), then you need to double the
colons.
Page 123 of the manual states this, as well as FAQ Q0030 - okay this is
a different question, but all I did was look for 'colon'.
Regards,
John.
--
John Horne, University of Plymouth, UK Tel: +44 (0)1752 233914
E-mail: jhorne@???
PGP key available from public key servers