previous next top contents index framed top this page unframed
Command line syntax: copier {srcFile {dstFile}}*
The MODULE COPIER copies a text file. It prompts for the names of the input and output files, or uses srcFile as the input file name and dstFile as the output file name, if given. To exit, type <eol> in response to the input file prompt.
The most common use of COPIER is to convert between file formats. This is done by using the appropriate device MODULE syntax in the file names specified. The actual device MODULEs available depend on the host operating system. For example, under some operating systems, the device prefix VAR> indicates a text file consisting of variable-length records and the device prefix BS> indicates a MAINSAIL byte stream text file. Example 7–1 copies a text file, changing its format from byte stream (device prefix BS>) to record format (device prefix VAR>). User responses are underlined. COPIER can be used to convert between any two text file formats for which device MODULEs exist.
| MAINSAIL (R) Version 16.20.<release> (? for help) Revision: <date> Copyright (c) 1984-1998 by XIDAK, Inc., Point Arena, California, USA. *copier<eol> Text File Copier Input file: bs>test<eol> Output file: var>test<eol> Input file: <eol> |
MAINSAIL Utilities User's Guide, Chapter 7