Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ topc(1) — TOPS 2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

tomac(1)

tounix(1)

TOPC(1)  —  USER COMMANDS

NAME

topc − convert file to PC format

SYNOPSIS

topc [ −c ] [ filename ... ]

DESCRIPTION

topc reads a file in sequence, converts it to IBM PC (MSDOS) text file format, by replacing any carriage return or line feed with a carriage return and a line feed, and displays the results on the standard output.  file is assumed to be a regular text file.  Thus

% topc goodies

converts goodies to a PC format and displays the results on the standard output, and

% topc file1 file2 >file3

concatenates the first two files, converts them to a PC format, and places the result on the third. 

If no filename argument is given, or if the argument ‘−’ is given, topc reads from the standard input.  If the standard input is a terminal, input is terminated by an EOF signal, usually ^D. 

OPTIONS

−cChange input files.  If −c is used, the output is not directed to standard output.  Instead, the input files are converted in place. 

SEE ALSO

tomac(1), tounix(1)

BUGS

topc only works on regular text files. 

Sun Release 4.0  —  Last change: 3 November 1987

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