src/bin/undos.c File Reference

#include <ctype.h>
#include <errno.h>
#include <teem/air.h>
#include <teem/hest.h>

Include dependency graph for undos.c:


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

#define BAD_PERC   5.0

#define CR   10

#define LF   13


Function Documentation

int main ( int  argc,
char *  argv[] 
)

void undosConvert ( char *  me,
char *  name,
int  reverse,
int  mac,
int  quiet,
int  noAction 
)


Variable Documentation

char* info

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. ")


Generated on Thu Jan 1 01:06:31 2009 for Teem by  doxygen 1.5.6