Arbortext Command Language > Using the Arbortext Command Language > Creating Buffers that Contain Files
  
Creating Buffers that Contain Files
Existing ASCII files or SGML files, such as Arbortext Editor documents or portions of them, can become the text of a paste buffer. To do this, use the read -buffer command. You can then use a paste command to put this file in your document.
To create a paste buffer named cprt that contains the text of an existing SGML file called copyright, enter the following command at the command line:
read -buffer cprt -SGML copyright
To paste the contents into the document, position the cursor where you want the text to appear and at the command line, enter:
paste cprt
To create a paste buffer named pl that contains the text of an ASCII file called partslist, enter the following at the command line:
read -buffer pl -untag partslist
To paste the contents into the document, position the cursor where you want the text to appear and at the command line, enter:
paste pl
ASCII files may require tagging when inserted into an SGML document.