Ignore part of line as a command-line option

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
edorchard
New Member
Posts: 1
Joined: Thu Mar 31, 2011 6:06 am

Ignore part of line as a command-line option

Post by edorchard »

I want to ignore part of a line using a regular expression. This works fine but there appears to be no way of setting this as a command-line option. The indirect way is to use the /g option and read options from a file but this seems to not do as requested.
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Ignore part of line as a command-line option

Post by psguru »

Yes, it has to be done via the /g option. I'm not sure what's not working there: seems to work as advertised last I tested.
psguru
PrestoSoft
bps_cmclean
New Member
Posts: 1
Joined: Fri Nov 09, 2012 6:48 am

Re: Ignore part of line as a command-line option

Post by bps_cmclean »

I have been diff'ing 1000's of files each night using a C# wrapper around a command line call to EDP

The options used are

/html /t /w /k /no /nh

which means that only diff reports for files that are actually different are generated each night

This has been working perfectly for a few months, but today the client started to recieve a new batch of files that needed some extra parameters to ignore # or £ characters within a line.

I have been trying to do this on the command line all day and have simply failed miserably!!

The session files don't seem to have any /html or /no information in them and any extra parameters are ignored

The idea of using /g does seem odd as this is supposed to allow you to put the options in a named file but if there is no option to ignore characters in a line based on a RE ... how does that work?

Any help would be great

Calum
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Ignore part of line as a command-line option

Post by psguru »

The idea of using /g does seem odd as this is supposed to allow you to put the options in a named file but if there is no option to ignore characters in a line based on a RE ... how does that work?
The way it works is that you can go to the UI Options and set your desired settings (in your case under Options | Compare), then export them to a file. Now you can continue using your /html /no /nh options along withe the /g option, providing it with the options file.
psguru
PrestoSoft
Post Reply