home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / cvt304.zip / README < prev    next >
Text File  |  2002-08-24  |  3KB  |  75 lines

  1. CVT - Convert source file to Dos/Mac/Unix/Vax format V3.04
  2.       Bob Withers, 10/02/93 [as of Dec 26 1995]
  3.  
  4. Usage:    CVT [-s] -cdmuv file1 file2 ... fileN
  5.           -s  ==> Search subdirectories
  6.           -c  ==> Check filetypes and display
  7.           -8  ==> Allow chars > 127 in converted files
  8.           -d  ==> Convert to DOS format
  9.           -m  ==> Convert to MAC format
  10.           -u  ==> Convert to Unix format
  11.           -v  ==> Convert to Vax format
  12.           Select 1 of c,d,m,u,v only
  13.           Wildcards are permitted.
  14.           Files are overwritten with converted version.
  15.  
  16. This package contains a small utility program which I have found to be
  17. quite handy in moving files between various platforms.  It's purpose is
  18. to convert ASCII files between DOS, Unix, Mac, and Vax environments.
  19. While many such utilities exist, I find this one particularly useful
  20. because it accepts wildcards, searches directories below a starting point,
  21. and avoids mangling any binary files found. For example:
  22.  
  23.                 cvt -sd *.*
  24.  
  25. Will convert all text files in the current directory and all child
  26. directories to DOS format.  Files already in DOS format will be skipped
  27. as will any binary files found.
  28.  
  29. The command 'cvt -c *.*' will display the file types of all selected files
  30. but will not perform any conversions.
  31.  
  32. The DOS and OS/2 versions of this utility use the Unix style directory
  33. functions developed and copyrighted by me.  I hereby grant permission for
  34. these functions to be used for any non-commercial purpose as long as
  35. proper credit is given.
  36.  
  37. All versions of this utility make use of the regular expression routines
  38. developed by Henry Spencer at the University of Toronto.  I have reformatted
  39. this code and made several slight modifications.  If bugs have crept into
  40. these functions, they are mine not Henry's.
  41.  
  42. I sincerely hope that this utility, in whole or part, is useful to you
  43. but (as usual) I do not warrant that it is.  In fact I assume no
  44. responsibility for any defects which may be found in this code (isn't
  45. software engineering a wonderful profession?).  Use it at your own risk.
  46.  
  47. If you fix bugs or make enhancements I would very much appreciate a copy
  48. of your modifications.  If you have comments, suggestions, or problems I
  49. would also like to hear from you.  I can be reached at the E-Mail address
  50. below and I will attempt to respond to all inquiries.
  51.  
  52. Best regards,
  53.  
  54. Bob Withers
  55. bwit@mo.net
  56.  
  57.  
  58. ========== Enhancements ===================
  59.  
  60. 12/26/95
  61.     #ifdef's were added for NEED_STRERROR and a new makefile target of unix1
  62.     was included to support systems that do not have the strerror function.
  63.     This enhancement was suggested by:
  64.             Dale DePriest               daled@cadence.com
  65.  
  66.     A new switch, -8, was added to optionally enable the conversion of files
  67.     containing character values greater than 127.  These files would normally
  68.     be considered binary and skipped.  The -8 switch forces them to be processed.
  69.     This switch should be used with care.  If the file is actually binary a
  70.     forced conversion would most likely corrupt it.  This enhancement was
  71.     suggested and coded by:
  72.             Stefan Witzel               switzel@gwdg.de
  73.  
  74.  
  75.