[pm-h] write to empty files
rlharris at oplink.net
rlharris at oplink.net
Fri Jun 8 11:10:30 PDT 2018
On Fri, June 8, 2018 12:48 pm, rlharris at oplink.net wrote:
> On Fri, June 8, 2018 12:20 pm, Uri Guttman wrote:
>
>> use File::Slurp ; write_file( 'filename', "header text\n" ) ;
>> append_file( 'filename', "more text\nand even more\n" ) ;
>
> I do not recall what structure is needed to feed to this code
> a list of filenames, such as:
>
> foobar-01.tex foobar-02.tex foobar-03.tex ...
Ultimately, I need to be able to write one or more different source files
to each destination file:
sourceA-01 to destination-01
sourceB-01 to destination-01
sourceA-02 to destination-02
sourceB-02 to destination-02
sourceA-03 to destination-03
sourceB-03 to destination-03
This can be done in separate batches for sourceA, sourceB, sourceC, and so
forth.
More information about the Houston
mailing list