cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
gman86
Level 2

Merge text files

Is there a way to merge 2 text files using InstallAnywhere?

I know I can append text to a file using the Modify file action, but is there any way to get this text to append from another file?

Cheers
Labels (1)
0 Kudos
(1) Reply
pv7721
Level 20

It seems that the built-in Modify Text action, while it allows you to append text, doesn't allow you to take the content from another file, so you've got at least two alternatives, the simpler being to use something like:

more file1 file2 > file3
mv / move file3 file2
rm / del file2


or write some custom code in order to do that (but more complicated, I guess).
0 Kudos