home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR4 / XEOL10.ZIP / XEOL.TXT < prev   
Text File  |  1993-09-29  |  3KB  |  86 lines

  1. XEOL v1.0 - Translate End-of-line Characters for DOS and OS/2
  2. =============================================================
  3. Copywrite (c) Paul Gallagher 1993.
  4. The author grants general permission to distribute and use this package,
  5. provide it remains complete as detailed in section (1), is not modified
  6. in any way, and is not sold for more than a reasonable media and
  7. distribution charge.
  8.  
  9. Contents of this file:
  10.   1. Package
  11.   2. Version History
  12.   3. Contacting the author
  13.   4. System Requirements
  14.   5. About XEOL
  15.   6. Using XEOL
  16.  
  17. 1. Package
  18. ==========
  19.  
  20.   XEOL.TXT        = this file
  21.   XEOL-DOS.EXE    = DOS executable
  22.   XEOL-OS2.EXE    = OS/2 v2.x executable
  23.  
  24. 2. Version History
  25. ==================
  26.  
  27. 93.09.28 : v1.0 for DOS and OS/2. The OS/2 exe should run under NT,
  28.   but this hasn't been tested yet!
  29.  
  30. 3. Contacting the Author
  31. ========================
  32. Paul Gallagher:
  33. Contact me by mail at <paulg@a1.resmel.bhp.com.au>, snail mail at:
  34. PO Box 731 Mt Waverley 3149 Australia, or tel: +61-3-560-7066 (BH).
  35.  
  36. 4. System Requirements
  37. ======================
  38. XEOL requires DOS v3.x or higher, or OS/2 v2.0 or higher.
  39.  
  40. 5. About XEOL
  41. =============
  42. XEOL performs end-of-line translation on text files. It can convert
  43. to/from any of the three popular end-of-line character streams:
  44.   mac     <CR>     = 0x0D
  45.   dos,os2 <CR><LF> = 0x0D,0x0A
  46.   unix    <LF>     = 0x0A
  47. XEOL operates as a command line filter. It converts a text stream appearing
  48. on the standard input handle, writing the converted lines to the standard
  49. output handle.
  50.  
  51. 6. Using XEOL
  52. =============
  53. {In the following discussion, the command XEOL has been used to represent the
  54. program. Substitute XEOL-DOS or XEOL-OS2 depending on your platform}
  55.  
  56. Getting help:     XEOL /?
  57.  
  58. Usage:
  59.        XEOL -ffmtstr -tfmtstr
  60.  
  61. where -f indicates format to translate from, and -t is
  62. the destination format, and fmtstr is one of the following:
  63.         mac          [uses <CR> = 0xD]
  64.         dos,os2      [uses <CR><LF> = 0xD,0xA]
  65.         unix         [uses <LF> = 0xA]
  66.  
  67. This is only 1/3 the story though; next you need to tell the program
  68. *what* to convert. There are 3 options:
  69.  
  70.   1. Use "redirection" Eg:
  71.      XEOL -fdos -tmac <test.txt
  72.   2. Use "pipes"
  73.      type test.txt | XEOL -fdos -tmac
  74.   3. Use default input (ie. keyboard)
  75.      XEOL -fdos -tmac
  76.  
  77. The last part of the story is to tell the program where to direct output.
  78. Again there are the same 3 options:
  79.  
  80.   1. Use "redirection" to save the output to a file Eg:
  81.      XEOL -fdos -tmac <test.txt >test.mac
  82.   2. Use "pipes" to direct output into another process (like sort) Eg:
  83.      type test.mac | XEOL -fmac -tdos | sort
  84.   3. Use default output (ie. console)
  85.      type test.mac | XEOL -fmac -tdos
  86.