STScI Logo

type system


NAME · USAGE · PARAMETERS · DESCRIPTION · EXAMPLES · SEE_ALSO

NAME

type -- type a file or files on the standard output

USAGE

type input_files

PARAMETERS

input_files
A template specifying the file or files to be typed.
map_cc = yes
If set, output any non-printing control characters in the input text in a printable form, e.g., ctrl/c (ASCII 3) would be output as ^C.
device = "terminal"
The output device, defaulting to the user's terminal. If the special device "text" is named, any standout mode control characters embedded in the text will cause the enclosed text to be output in upper case.

DESCRIPTION

Type copies the named files (or the files selected by the file template) to the standard output. If there is more than one file in the input list, a header naming the file to be printed will preceed each output file.

EXAMPLES

1. Type all files in the current directory with the extension ".x" on the standard output. Do not pause between files or pages (unlike page ).

cl> type *.x

2. Capture the manual page for task hedit in a text file, in a form suitable for printing on any device.

cl> help hedit | type dev=text > hedit.doc

SEE ALSO

page, head, tail, concatenate, lprint


Source Code · Search Form · STSDAS