This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
cat and binary files
- To: gnu-win32 at cygnus dot com
- Subject: cat and binary files
- From: Chuck Bogorad <chuck at hysteria dot spb dot ru>
- Date: Sat, 12 Apr 1997 12:00:23 +0300
b.mcleod@opengroup.org wrote:
>4. i also enclose trans.exe: this little proggie ((c) Kai Uwe Rommel) will
> help _alot_. it's dual mode (dos/os2-16).
bo> Does trans.exe translate the <CR><LF> stuff? If so, how does it
bo> work, and do you have source. Thanks.
i don't have the source, but i presume it might be available because the
program is free.
[chuck@hysteria:~]trans
D:\BIN\NT\TRANS.EXE 7.8 - (c) Kai Uwe Rommel - Feb 01 1994
Usage: D:\BIN\NT\TRANS.EXE [-clmoxisbefrn] [-w#] infile ...
This program translates text files between different environments and handles
line separators, removes trailing whitespace and carriage returns and can also
expand or insert tab characters or remove backspace characters (nroff output).
Options: (not case sensitive)
-c separate lines by CR/LF (default on DOS and OS/2)
-l separate lines by single LF (default on Unix)
-m separate lines by single CR (for Macintosh)
-o input lines are separated by single CR (LF or CR/LF otherwise)
-x expand tabulators to blank characters
-i insert tabulators to replace multiple blanks
-s do not insert tabs into string constants between '' or ""
-w# set tabulator width
-b delete backspaces and overwritten characters
-e compress multiple blank lines into single ones
-f act as a filter
-r recurse through subdirectories
-n do not create backup files
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".