[Camelot-pm] create files in multi directories

George Woolley george at metaart.org
Mon Jul 7 16:01:13 CDT 2003


Ronen,
An interesting problem.

Well, the more I look at what you've supplied,
the more I realize that you've provided a lot of information.

Still, I'm not clear.
Answers to the following would be helpful:
* What's the motivation for what you wish to do?
* Could you give a single example of a template
and how it would get transformed for a particular file
including the rule for the transformation?                   
* In this context, 
what is the distinction between source and template?
                        
George

P.S. Since there are only a few of us here
and since this small group is focused more on perl culture
than on perl coding,
you may wish to also present this problem elsewhere
(if you haven't already).
That being said,
questions like this are certainly welcome here.      


>Date: Mon, 7 Jul 2003 14:58:56 +0300
From: "Ronen Kfir" <RonenK at tauex.tau.ac.il>

>Hi,
>How would I create a bunch of files with the same name, save them under
>the same root directory, but only in part of the subdirectories & change
>one word in the text inside the files?
>The text of the files is short (15 words at the most), so it can be either
>copy of another file, or a text I would edit inside the file. The names of
>my directory tree looks like this:
>                                      dir1
>		             /     |      \
>                           dir2     dir3     dir4
>		    /  |         /  |        |     \
>	       dir5  dir6 dir5 dir6  dir5 dir6
>
>I want to create a few sets of files. One set goes only to dir5, one set
>goes only to dir6, etc. the common thing to whole directory tree is the
>files name. The uncommon thing is the text. In each set, the text stays
>the same, but only one word- changes. The word, which supposes to be
>changed, is known- by location in the template & by the source &
>destination.
>
>Cheers
>
>ÝRonen Kfir
>System Administrator
>T.A.U Computing Division
>Tel: 972-3-6407416
>Fax: 972-3-6405158
>cellular: 972-55-405910
>E-mail: ronenk at tauex.tau.ac.il
>
>_______________________________________________
>Camelot-pm mailing list
>Camelot-pm at mail.pm.org
>http://mail.pm.org/mailman/listinfo/camelot-pm

bAbE oruhkuhl:

vizzit mE 8 http://www.metaart.org/firefly.

-------------------------------------------------------




More information about the Camelot-pm mailing list