Search found 7 matches

by christopherc
Mon Apr 17, 2006 6:39 am
Forum: ExamDiff Pro
Topic: Multiple REGEXP syntax
Replies: 6
Views: 14138

The problem is the way the command was built. The syntax should be as follows (JScript) and it works. I hope this will help someone... :>)

sExamDiff = "\"c:\\program files\\examdiff pro\\examdiff.exe\"";
oRunningProcess = WshShell.Exec(sExamDiff + " " + sFile1 + " "+sFile2 + " /j:tmp.*|server[0-9 ...
by christopherc
Thu Apr 13, 2006 12:30 pm
Forum: ExamDiff Pro
Topic: Multiple REGEXP syntax
Replies: 6
Views: 14138

Command line works. If I get it working I'll post it back in case anyone else might benefit.

Thank you for the help!
by christopherc
Thu Apr 13, 2006 10:12 am
Forum: ExamDiff Pro
Topic: Multiple REGEXP syntax
Replies: 6
Views: 14138

Maybe not... I removed the /no to not output a file, altered the /j parameter, and changed the code as follows:

sExamDiff = " \"c:\\Program Files\\ExamDiff Pro\\ExamDiff.exe\" " + sFile1 + " " + sFile2 + " /j:tmp.*|server[0-9]{4,5}.* /o:" + sOutputFile;
sCmd = "cmd /c ";
oRunningProcess = WshShell ...
by christopherc
Thu Apr 13, 2006 9:49 am
Forum: ExamDiff Pro
Topic: Multiple REGEXP syntax
Replies: 6
Views: 14138

I am such a dope....
:oops:
I was doing this wondering "Why is there no output file???" when in fact I specified to only generate an output file if there is diffs found (/o option).

I was working all along and just realized it. Sorry!!
by christopherc
Thu Apr 13, 2006 5:16 am
Forum: ExamDiff Pro
Topic: Multiple REGEXP syntax
Replies: 6
Views: 14138

Multiple REGEXP syntax

Hi,

I need to add two RegExp statements for exclusions to the output file.

Problem is I get two file patterns that always differ and want the report not to generate those diffs. The two patters are 'server[0-9]{4,5}.xml.*' and 'tmp.*'.

How can I get the RegExp syntax in ExamDiff to do this? I ...
by christopherc
Thu Feb 09, 2006 9:07 am
Forum: ExamDiff Pro
Topic: How can I output the 'sames', not the 'diffs'?
Replies: 3
Views: 10140

Thanks, but I did not make myself clear in what I was after. For example, I have two .txt files as such:

1:
This
is
a
test.

2:
This
is
how
this will fail.

I only want to output:

Output:
This
is

Not the diffs. It seems a strange request but sometimes I need to know what is common as well ...
by christopherc
Wed Feb 08, 2006 7:13 am
Forum: ExamDiff Pro
Topic: How can I output the 'sames', not the 'diffs'?
Replies: 3
Views: 10140

How can I output the 'sames', not the 'diffs'?

I have 2 files that I compare and can output the diffs to file. How can I ignore the diffs and output the same content found in both files?

thx.