Displays the text of INed structured files.
readfile [ -d ] [ -g ] [ -h ] [ -s ] [ -t ] [ -u ] [ -? ] [ +Number ] [ -Number ] [ -o Outfile ] [ File ... ]
The readfile command reads the specified structured file or a list of structured files and creates an ASCII printout to illustrate the file's tree structure. If the file is a structured file, the readfile command only prints the file's string data; there is no indentation. If the file is a text file, the readfile command works like the cat command.
If you do not specify the File parameter, the readfile command reads standard input as a text file.
|Creates a detailed formatted dump of the contents of the input files.
|Converts the control characters, such as graphic characters used in forms, to similar printing characters.
|Separates the output into sections with headers that identify the input file for each section.
|Suppresses messages that report unstructured and nonexistent files.
|Illustrates the structure of the file with a tree diagram. (The editor ignores this flag if the file is a structured file or a text file.)
|Suppresses buffering of output. (The default buffer size is the size of the disk block.)
|Displays a usage syntax message.
|Begins reading the file at the record specified by the Number variable. (The first record is record 0.) The default for this flag is +0. Separate this flag from the other flags with a space.
|For structured files, sets the size of the increments and decrements for indentation at the specified number of columns. This flag is ignored if you specify the -t flag. Separate this flag from the other flags with a space.
|Uses the value of the Outfile variable as the output file instead of standard output. If the output file name is the same name as an input file, the editor backs up the input file in a .bak file.
readfile -h profiles/editorprf
The cat command.
INed Editor Overview in AIX Version 4.3 INed Editor User's Guide introduces general concepts about the INed editor.
How to Access Previous Versions of a File with the INed Editor.