[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: wc, see attached



Reply to note from flash  Mon, 10 Jun 2013 17:08:42
+0200

> XY3 and XY4 compared, wc on same file.

Very strange, flash. At the risk of sounding offensively obvious,
are you sure that the cursor was at the same location in the file
when you ran the WC command in each program?

I get identical word counts in Xy3 and Xy4 on unformatted text
files, and only slight variations on formatted files. (I guess the
variations are due to differences in what the two programs recognize
as "legal" formatting commands to be excluded from the count). For
what it's worth, I get similar results using an "XPyL" word-counting
routine that employs regular expressions. (XPyL is a pet project of
mine that enables Python scripts to be embedded in XPL code and be
executed as part of the program. A gestational work-in-progress.)

--
Carl Distefano
cld@xxxxxxxx