[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: R: CR, LF -- XY4 & NB



"
" > Replay to Russ W. Urqhart
" >
" > > Awhile back there was a discussion about converting the CR/LF pair back
" > > and forth to a single LF. It was discussed that while this was possible
" > > to convert a LF to a CR/LF pair in Xy4, it was not possible to do the
" > > reverse, there a program was suggested that would do it.
" > >
"
" In either case, let me recommend a program called minitrue. It's a DOS utility that,
inaddition to doing
" a CR/LF => CR or LF, you can also use it to Search/Replace reg. exp. create a batch file to do it, or
" use it to make the changes based on your input! Extrememly flexible, extremely fast. Loads of
features. It's out on the DOS BBS's. FYI

	---------
	 Yes, minitrue from Ministry of Truth (an Orwell reference)
	Very nice, very nice.
	Multiple search and replaces at once, also grep also
	regular expressions,
	I'll often prepocess files before calling them up in XY3
	as other tools are simpler or better than XY for special
	purposes
					Daniel Say
					say@xxxxxxxx
example and site
----------------
X-within-URL: http://www.pagesz.net/~minitrue/
 
            WELCOME TO THE MINITRUE HOME PAGE
 
  MiniTrue is a fast and versatile text search/view/replace utility run
  from the DOS command line. MiniTrue synthesizes the functionality of
  such stalwarts as sed, more/less and grep while offering complete
  interactivity and a straightforward syntax. MiniTrue is freeware and
  is not crippled in any manner. MiniTrue searches the selected file(s)
  for the desired string(s). Once a string is found, it is displayed on
  the screen along with its context, which can be scrolled through if
  desired. If a replacement has been specified for the found string,
  MiniTrue will prompt to see if the found string should be changed.
  These three phases of operation are explained in more detail: (*
  denotes a new feature)
 
 Search:

   * All the filenames that will fit on the command line can be
    searched. Wildcards in the filenames are allowed.
   * Over 40 strings can be searched for at a time.
   * If the size of the command line buffer is inadequate, input files
    containing filenames and strings can be used.
   * Subdirectories can be searched recursively, making disk-wide
    searches easy to implement.
   * Regular expressions (similar to UNIX basic regular expressions)
    are supported.
   * No limits on either file size or line length
   * The search strings can be linked to form unions. All the strings
    in the union must be present within a specific region for a find
    to be reported. *The region for the union can be varied by either
    lines or bytes.
   * *Minitrue can decompress archives before searching them. The
    default dearchiver is PKUNZIP but most popular dearchivers can be
    used. The archive files are not altered in any manner.
   * MiniTrue is fast.
   
  A 486+ computer searching for one fixed string should scan at least
  1MB per second. (On my AMD 5x86, MiniTrue can scan roughly 600MB of
  files in approximately 6 minutes).
 
 Display:

   * *MiniTrue 1.5 does not limit the amount of viewable text to one
    screen; it allows scrolling through the entire file in the manner
    of the textreaders less and more.
   * *If no strings are specified, MiniTrue functions as a textviewer.
    The start of the file is displayed, and scrolling enables the
    remainder of the file to be viewed. This provides a way to examine
    the contents of a text file without the overhead of starting a
    text editor.
   * Can display context in hexadecimal mode. *Toggling between ASCII
    and hex mode is allowed.
   * Lines longer than 80 characters are wrapped around, making
    horizontal scrolling unnecessary.
   * *Support for nonstandard SVGA modes such as 132 * 43
   * MiniTrue can bypass its textviewer mode and write all the lines
    containing matching strings to standard output a la grep.
    *Nonmatching lines, all lines or just the matching strings can be
    sent to standard output as well. Line numbers and file names can
    be included if desired.
   * *Accelerated scrolling - The longer the up/down arrow key is
    pressed, the faster MiniTrue will scroll through a file. This
    feature can be disabled.
   * *Regular expression color coding - Each part of the regular
    expression will have a different color text.
 
 Replace:

   * Prompting is not mandatory - MiniTrue can make all replacements
    automatically.
   * A substitute replacement string can be entered. The region of text
    to be replaced can be altered as well.
   * Backup files can be made in order to safeguard against the
    possibility of unwanted changes. *Either the original file or the
    altered file can be saved with a new extension. Backups will never
    overwrite previously existing backup files.
   * *If regular expressions are used, the replacement string can
    include all or part(s) of the found string.
 
 Other features of MiniTrue 1.5 include:

   * *Capacity to automatically generate a batch file from the given
    command line arguments.
   * The number of finds/replacements (for both files and strings) can
    be printed when MiniTrue is done.
   * *A log file reporting the locations of the finds and replacements
    can be generated.
   * The default settings can be altered and saved.
   * Extensive documentation
   * .EXE size of only 76K results in quick startup.
   * Several useful MiniTrue batch files are included.
   * Should run on virtually all PC compatibles from 8088s on (about
    200K of free memory is required).
   _________________________________________________________________
 
  Download MiniTrue 1.5 64K (137K total uncompressed) last updated
  8/23/96
  Please send all comments, bugs &suggestions to apipkin@xxxxxxxx
   _________________________________________________________________
 
  This web page is optimized for Lynx Download Lynx