#include <ctype.h>
#include <errno.h>
#include <teem/air.h>
#include <teem/hest.h>
Data Structures |
| union | _undosU |
Defines |
| #define | CR 10 |
| #define | LF 13 |
| #define | BAD_PERC 5.0 |
Functions |
| void | undosConvert (char *me, char *name, int reverse, int mac, int quiet, int noAction) |
| int | main (int argc, char *argv[]) |
Variables |
| char * | info |
Define Documentation
Function Documentation
| int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
| void undosConvert |
( |
char * |
me, |
|
|
char * |
name, |
|
|
int |
reverse, |
|
|
int |
mac, |
|
|
int |
quiet, |
|
|
int |
noAction |
|
) |
| |
Variable Documentation
Initial value: ("Converts from DOS text files to normal (converting LF-CR pairs "
"to just CR), or, with the \"-r\" option, convert back to DOS, "
"for whatever sick and twisted reason you'd have to do that. "
"Can also handle legacy MAC text files (only LF). "
"Unlike the simple sed or perl scripts for this purpose, "
"this program is careful to be idempotent. Also, this makes "
"an effort to not meddle with binary files (on which this may "
"be mistakenly invoked). A message is printed "
"to stderr for all the files actually modified. ")