Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ocat(1) — DECnet OSI 4.0C

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ocp(1)

ex(1)

more(1)

pr(1)

tail(1)

ocat(1)  —  Commands

Name

ocat − concatenate and print data

Syntax

ocat [ −b ] [ −e ] [ −n ] [ −s ] [ −t ] [ −u ] [ −v ] [ −T trace-file ] application_address::file [,application_address::file...]

Description

The ocat command reads a remote file and displays its contents on the standard output.
You can only append the contents of remote files by redirecting the output to a local file.

Options

−b Ignores blank lines and precedes each output line with its line number. 

−e Displays a dollar sign ($) at the end of each output line. 

−n Precedes all output lines (including blank lines) with line numbers. 

−s Squeezes adjacent blank lines from output and single spaces output. 

−t Displays non-printing characters (including tabs) in output.  In addition to those representations used with the −v option, all tab characters are displayed as ^I. 

−u Unbuffers output. 

−v Displays non-printing characters (excluding tabs).  For example, <CTRLX> displays on the screen as ^X.  The delete character (octal 0177) displays as ^?.  Non-ASCII characters (with the high bit set) display as M- (which is the meta character) followed by the low 7 bits. 

−T trace-file
Specifies that a trace file be created with the indicated file name.  You must use the ositrace command to analyze this trace file.

application-address
Specifies the FTAM system on which the remote files are located.

file Specifies the remote files to be concatenated or printed. 

See Also

ocp(1), ex(1), more(1), pr(1), tail(1)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026