PDA

View Full Version : comparing 2 files using command line


28-Jan-2004, 11:35 AM
Hi
I have similar problem like Stuart. I want to compare 2 files using command line and forward output to printer.

I enter such a command:
bc2 @c:\params.txt c:\01021604.txt c:\01021604z.txt

file params.txt contains:
file-report layout:side-by-side options:display-mismatches,line-numbers output-to:printer output-options:print-mono,print-landscape,wrap-character %1 %2

As a result I receive page in portrait format, print-landscape parameter seems to be ignored.

When I use:
file-report layout:side-by-side options:display-mismatches,line-numbers output-to:printer output-options:print-landscape %1 %2

I receive message:
List index out of bounds (0)
and no printout.

It is quite important for me to use wrapping and landscape format. Can you help me?

Craig
28-Jan-2004, 03:02 PM
Hi swiety,

I'm afraid this is a bug in our script parsing. I have a fix ready for the next release. If you need it before build 216 goes out send an email to support and I'll send you a fixed copy.