This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Merge text files
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 31, 2010
06:15 AM
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
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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 31, 2010
08:40 AM
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:
or write some custom code in order to do that (but more complicated, I guess).
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).