TOUNIX(1) — USER COMMANDS
NAME
tounix − convert file to unix format
SYNOPSIS
tounix [ −c ] [ filename ... ]
DESCRIPTION
tounix reads file in sequence, converts it to a unix format, by replacing any carriage returns with line feeds, and displays the results on the standard output. file is assumed to be a regular text file. Thus
% tounix goodies
converts goodies to a unix format and displays the results on the standard output, and
% tounix file1 file2 >file3
concatenates the first two files, converts them to a unix format, and places the result on the third.
If no filename argument is given, or if the argument ‘−’ is given, tounix 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
BUGS
tounix only works on regular text files.
Sun Release 4.0 — Last change: 3 November 1987