[cvsnt] modules file examples

Tony Hoyle tmh at nodomain.org
Fri Jun 18 20:03:31 BST 2004


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Mike Wake wrote:
> Hi Tony,
> 
>>
>> (Q: can you have more than one directory here?  The documentation says
>> all the extra parameters are files, but I'm *sure* I've seen modules
>> with multiple directories)
>>
> 
> I have the following in my modules file where the first 3 entries in 
> p_baseline are directories.

They're alias modules though which already seems to handle multiple 
parameters.  Regular modules don't if the documentation is to be believed (and 
I'm not sure I believe it...)  Following the logic in the docs, if you have:

pets -a dog cat rabbit

You would end up with 3 directories in the current directory called 'dog', 
'cat' and 'rabbit', and no 'pets' directory at all (since 'co pets' is 
equivalent to 'co dog cat rabbit').  That seems clear enough (I think?).

Rather than try to come up with examples myself (and inevitably get them wrong 
as in the last time I tried to make any sense of the modules code) I need to 
find out what the modules code actually does in complex cases (rather than 
what it claims to do, which appears to be different in many cases to the 
documentation).

At some point I can then try to write a modules->modules2 script that will 
hopefully yield the same results.

Tony


-- 
Te audire no possum. Musa sapientum fixa est in aure.

Tony Hoyle <tmh at nodomain.org>  Key ID: 104D/4F4B6917 2003-09-13
Fingerprint: 063C AFB4 3026 F724 0AA2  02B8 E547 470E 4F4B 6917



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook