send script output to a file

Many many many thanks! I was looking for a way to write LARGE files for a long long time. This also works in the 6.4X version of ROS.

You can test your code easier in the Terminal and here I save a very lean import file for an address list:

:gone

Script - function - comment is in the top of the file and I think even define a specific bottom line and I will make a complete one later. $addAddress is the function that writes the address in the address-list on import.

Update:
Got it working and it was bit think how to put code as just text and not be syntax checked. Very nice and I am pleased that finally I can create back-up/source files also to be used on other routers without having to go through the work in a export file. Now I have to think how to rename the created file from .rsc.txt to .rsc on the disk. I will create a new topic in scripting soon to have the beginning of a ecosystem to back-up/distribute address-list in a lean and efficient way.