Inserting a Whole File
To insert all of another file into the file you are editing, use the format:
orXEDIT determines whether the file ID entered is a CMS file (filename filetype) or a BFS file (pathname) from the NAMETYPE setting. The default type of file ID is CMS, but NAMETYPE BFS can be entered on the XEDIT command line to change the file ID to a BFS file.
For example, to insert all of POEM2 at the end of POEM1,
while
you are editing POEM1, enter:
bottom
- (move the line pointer to the end of the file)
get poem2 script
- (insert the whole file)
When the entire
second file has been inserted, the editor displays
the message:
EOF reached