
Q&D Binary/Text File Compare v1.3g by PhG

Syntax 1 : FCOMP <spec1> <spec2> [option]...
Syntax 2 : FCOMP <-c[c]> <list>

If specification contains any joker, program assumes it applies to files.
Directory specification should have a trailing "\".
<spec2> file part must match one of "$.$", "*.*", "$.*" or "*.$" forms.
Each <list> entry is a line matching "<#|;>< ><digest>< ><path>" format.

-c[c]   check <list> created with DUPLINES (-cc = create DELTHEM.BAT)
-e      check entry existence if <path> is canonical (-c[c] only)
-m:#    maximum mismatch count (0=unlimited, default is 10)
-z      force comparison (shorter size is taken as reference)
-i      return error code 255 if two existing files are identical
-t      force text lines comparison instead of default binary (-v forced)
-k      case-sensitive (-t required)
-w      take tabs and spaces into account (-t required)
-l[a|l] list <spec1> files with identical matching <spec2> files (-ll = -l -a)
-d[a|d] list <spec1> files with different matching <spec2> files (-dd = -d -a)
-a      list all matching files in both <spec1> and <spec2> (-l or -d required)
-del    prefix files with "DEL" (-l[l] or -d[d] required)
-copy   prefix files with "COPY" (-l[l] or -d[d] required)
-kill   prefix files with "DD -k -y -r" (-l[l] or -d[d] required)
-pcopy  prefix files with "PCOPY -p -o" (-l[l] or -d[d] required)
-u:$    prefix files with user command (-l[l] or -d[d] required)
-bat    create batch file based on prefix operation (-db[a|b], -kb[a|b])
-s      process subdirectories
-v      verbose (slower display, forced with -t)
-n      alternate display (names without paths)
-lfn    disable LFN support even if available

a) About -t option (DOS ASCII) : older file is taken as reference ;
   temporary files are created in directory specified by, in that order,
   TMP, TEMP, TMPDIR, TEMPDIR environment variables
   (if none of these variables is defined, current directory will be used).
   .COM,.EXE,.DLL,.OVR,.OVL,.DRV,.ZIP,.ARJ,.LZH files are ignored.
b) About -n option : in default mode, listing is terser ;
   in list mode (-l or -d options), path is removed from <spec1> source ;
   this option is ignored with -ll, -dd and -t options.
c) To be effective, all prefix commands require that output is redirected.
d) -<d|k>b[a|b] = <-del|-kill> <-bat> [-all].
e) About -c[c] option (syntax 2) : any option other than -e is ignored.
   An entry <path> is said canonical if matching "[?]\*" pattern.
   -c[c] returns error code 96 if groups contain identical files, else 64.
