BFIND

Adds Boolean logic to DOS's FIND command
Download

BFIND Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • Bruce Guthrie
  • Operating Systems:
  • Windows All
  • File Size:
  • 76 KB

BFIND Tags


BFIND Description

The BFIND application was designed to be a small program that adds Boolean logic to DOS's FIND command. In most ways, it's identical to the FIND command except: - Adds AND, OR, NOT, and XOR options to searches (finding all lines with "Apples" or "Bananas", for example). - Allows you to specify the starting column of the desired string. - Adds a pause (/P) option to have the output pause every 24 lines. - Avoids need to include the search string in quotation marks so you can use the program more easily in batch commands. - The input file specification can include standard DOS wildcards or an external file (@listfile) containing the files to be processed, e.g: BFIND /I "SOUND" *.TXT > TEMP.X - Allows you to recurse through child subdirectories. - Allows you to skip the by-file heading information ("----- filename"). - Can avoid showing file name header if no hits in the file (/-EMPTY option). - Handles DOS text files (lines end with CR/LF), Mac text files (lines end with CR), or Unix text files (lines end with LF). - Should be able to handle input files with line lengths of 5000 characters or more. Should skip the remainder, allowing you to use the wildcards more easily. - Allows you to remove non-text characters from the output or even specify your own character-translation file for them. Pressing escape stops the program early. The only FIND feature that BFIND does *not* support is the ability to specify multilple single input files without using wildcards ("FIND ...BRUCE.TXT BRUCEINI.TXT" works using the FIND command--"BFIND ... BRUCE.TXT BRUCEINI.TXT" does not work). In addition, you cannot do piping into BFIND (for example: "DIR | BFIND ..." does not work). The DOS FIND command allows you to find lines in a text file which contain a given string. You can also have the program tell you how many lines met the search criteria without actually viewing them which is an ideal way to find out how many times a given string appears in your file. You can even use FIND to tell you how many total lines are in a given file just by requesting a string that you know will never appear in your file like "#X$S$" and using the /C (count) parameter. BFIND adds to these capabilities. It gives you the power of AND, OR, NOT, and XOR, allowing you to find any line, for example, that contains both "Apples" and "Oranges" or to present any lines that contain either "Bananas" and "Pears". In addition, you can do column-specific searching, finding only those lines, say, that contain "PRINT" beginning in column 10. BFIND allows you to specify wildcards for the input file. You can also put the list of file names to process in a text file and tell BFIND to process the files listed therein. BFIND allows you to translate specified characters as the text is read. This is useful on output, when, for example, the text might contain things like page eject characters and you are rerouting the output to a printer; the page eject characters would, of course, cause lots of extra pages to be printed.


BFIND Related Software