TM
Section: Donald Burr (1)
Updated: April 05, 1991
Index
Return to Main Contents
NAME
tm - convert text files between Mac and UNIX
SYNOPSIS
tm
[mu/um] [inputfile or -] [outputfile or -]
DESCRIPTION
tm
converts text files between UNIX and Macintosh formats. Since
each has its own separate carriage return/line feed conventions,
this is necessary.
tm
should be used ideally in a shell script
or alias, which calls a file transfer program (e.g.
xmodem
,
rz
,
sz
, etc.
tm
takes three (3) arguments. The first argument is the direction
indicator; it should be "mu" if you wish to convert from Mac to
UNIX, or "um" if you wish to convert from UNIX to Mac.
The second argument is the filename to take input from.
If a hyphen (-) is specified,
tm
will take input from stdin
(standard input). The third, and last, argument to
tm
,
consists of the filename to direct output to. If a hyphen
(-) is specified,
tm
will use standard output (stdout).
If the output file already exists, it will be overwritten.
If the input file doesn't exist,
tm
will most likely not work.
SEE ALSO
xmodem(1), rx(1), rb(1), rz(1), sx(1), sb(1), sz(1), kermit(1)
AUTHOR
Donald Burr
ADDRESSES
INTERNET:
dburr@ocf.berkeley.edu, 72540.3071@compuserve.COM
COMPU$ERVE:
72540,3071
AMERICA ONLINE:
DonaldBurr
LIMITATIONS
tm
only works on one file at a time. It does not expand wildcards.
This is being worked on; the next version will probably include
this feature.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
- AUTHOR
-
- ADDRESSES
-
- INTERNET:
-
- COMPU$ERVE:
-
- AMERICA ONLINE:
-
- LIMITATIONS
-
This document was created by
man2html,
using the manual pages.
Time: 10:46:16 GMT, January 11, 2023