NAME
mactext - convert Unix text to Macintosh type text files
SYNOPSIS
mactext filename [filename ... ]
DESCRIPTION
Mactext converts standard Unix text files with a Unix end of
line
(newline) to Macintosh text files with a Macintosh end of
line
(carriage return). It also sets the Macintosh creator to
’????’
and the Macintosh file type to ’TEXT’. The
resulting file is
suitable for input to various Macintosh word processors such
as
Microsoft Word or WriteNow.
The program is a shell script
running the tr program to translate
from <nl> to <cr>. It also runs chcreat to set
the file creator
and chtype to set the Macintosh type information.
SEE ALSO
tr(1), chcreat(1), chtype(1), unixtext(1)
DIAGNOSTICS
If the file is not found, each of the constituent programs
will
complain.
BUGS
Rewrites the input file. No way to specify an alternate
output
file.