home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 February / chip_20022115.iso / amiga / chiputil / oneline.rea < prev    next >
Text File  |  2002-01-07  |  4KB  |  152 lines

  1. Short:    Text CR-LF-TAB to "" converter (68k)
  2. Author:   Vincenzo Barbarulo (barbarulo.vince@infinito.it)
  3. Uploader: Vincenzo Barbarulo (barbarulo.vince@infinito.it)
  4. Version:  1.0
  5. Type:     text/misc
  6. Date:     4-Jan-2002
  7.  
  8.  
  9.  
  10. Introduction
  11. ------------
  12. I've written this program because no freeware program on Aminet converts a
  13. text file in "One Line" only!.
  14.  
  15. WHY DO THIS??
  16.  
  17. So, this program is useful when you want to import a text in a DTP or WP program
  18. and you want to put the text in a number of columns greater or different from
  19. the original text.
  20.  
  21. In that case you have to go at the end-line, "DEL" last character and
  22. (not always) press "SPACE", for all the "end-line" of the text.
  23. OneLine do that for you and converts at one time CR,LF,TAB & dblSPACES!!
  24.  
  25.  
  26.  
  27. Requirements
  28. ------------
  29. Any Amiga with at least OS 2.04 and some Mb of RAM (!) if you want
  30. to save big files into RAM.
  31.  
  32.  
  33.  
  34. Features
  35. --------
  36.  - FREEWARE. No requesters and no expiry date.
  37.  - Detect CR, LF, TAB and double spaces in a text file of any length.
  38.  
  39. I've tested this program on my:
  40.  
  41. A4000, CyberStormMKIII 060/50, 128Mb RAM, CVisionPPC, OS 3.5,
  42. HD9.5Gb ATLAS SCSI-UW, HD10.5Gb Samsung IDE, CanonBJC-4400,
  43. MustekParagon-1200SP, CDROM 48x
  44.  
  45. Speed NOTE:
  46. On my A4000 OneLine converts and saves a file of ~600Kb of text in ~2 - ~2.5 secs
  47. and another of ~3500Kb in ~13 secs, but the speed depends by the file
  48. (number of the spaces and/or TAB).
  49.  
  50.  
  51.  
  52. Usage
  53. -----
  54. From shell only:
  55.  
  56. Type:  Oneline <in_file_path> <out_file_path> -t . . . <STDOUT>
  57.  
  58.        <in_file_path>   Name and path of the file to convert
  59.  
  60.        <out_file_path>  Name and path of the destination file
  61.  
  62.        -t               TAB option: if it's present, the program erase the TAB 
  63.                         characters too
  64.  
  65.        STDOUT           is the file "RAM:STDFile_OneLine.txt" that is used if
  66.                         isn't destination file specified
  67.  
  68.  
  69.  
  70.  
  71. To do
  72. -----
  73. Add   "Directory scan" option; (to convert a whole directory of text files);
  74.  
  75. Add   "Asl requester";  *
  76.  
  77. Add   a GUI & an icon for WB usage; *
  78.  
  79. Some speed improvements
  80.  
  81. *(Perhaps!: I don't know if could be very useful.)
  82.  
  83.  
  84.  
  85.  
  86. Legal stuff
  87. -----------
  88. OneLine is freeware. It may be distributed freely as long as
  89. no modifications are made to the executable and to this document.
  90.  
  91. ...but if you send me an EMail also empty(!) with the subject
  92. "OneLine user!" you make me greater!!!:
  93. only would i know how many peoples use this program!
  94.  
  95. Compiled with VBCC.
  96.  V0.8 (c) in 1995-2001 by Volker Barthelmann
  97.  
  98.  http://it.aminet.net/pub/aminet/dev/c/vbcc.lha
  99.  
  100.  
  101.  
  102. BUGS
  103. ---
  104. -B1 ?OneLine don't "seems" to convert, but only in some files, a CR every 1020-1040
  105.      characters. Some programs, like EditPad and Pagestream⌐, shows this CRs.
  106.      Other programs like CED4, Type (AmigaDOS)  and OneLine too,
  107.      (by running again on the dest_file), don't detects and shows them.
  108.      See History.
  109.  
  110. I have tested many times OneLine and it hasn't crashed my system.
  111.  
  112. But if you find a bug please send me an Email with the subject
  113. "OneLine bug" and tell me your configuration.
  114. (the file with the 'text frame' that generate the bug.
  115.  
  116.  
  117.  
  118.  
  119. History
  120. -------
  121. 0.4   -(internal) Detect and remove only CR & LF chrs  (23-Dec-2001)
  122.  
  123. 0.6   -(internal) Detect and remove TAB chrs
  124.  
  125. 0.9   -(internal) Detect end remove doubles (or > 2) spaces
  126.        (convert n spaces in 1 space chrs)
  127.  
  128.       -Added "Show converted text" option
  129.  
  130.       -Added "? number of columns" label
  131.  
  132.  
  133. 1.0   First public release. (04-Jan-2002)
  134.  
  135.       -Added  "number of CR, LF, TAB and Spaces removed" info
  136.  
  137.       -I have checked the files that generate the bug "B1" with DPU and other
  138.       Hex-Dump Tools too and i don't find any CR chrs after OneLine usage...
  139.  
  140.       -Speed improvement (compiled with VBCC 0.8 ---faaaster!!---)
  141.  
  142. ME!
  143. ---
  144. Vincenzo Barbarulo
  145. C.so Mazzini
  146. Cava de' Tirreni (SA)  84013
  147. ITALY
  148.  
  149. barbarulo.vince@infinito.it
  150.  
  151. P.S.:sorry if my english isn't good!!!!
  152.