Skip to main content.
home | support | download

Back to List Archive

WordCharacters not working in 2.1

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Mon Nov 27 2000 - 20:07:46 GMT
Again 2.1.8:

The header for Wordcharacters that's printed from swish doesn't match the
WordCharacters in my config file.  And they don't match the WORDCHARS in
config.h, either.  So, yet again, I'm confused what's happening -- or where they are coming from.

Works as expected under swish-e-2.0.3.

(I've turned off wrap for those with really big monitors)

~/swishperl/swish-e-2.1.8/t > fgrep WordCharacters swish.cfg
WordCharacters  abcdefghijklmnopqrstuvwxyz,0123456789

~/swishperl/swish-e-2.1.8/t > ../src/swish-e -c swish.cfg
Indexing Data Source: "File-System"
Indexing ./test.html..
..

Where's this coming from?

~/swishperl/swish-e-2.1.8/t > ../src/swish-e -w sksk | grep WordCharacters
# WordCharacters: #&0123456789;abcdefghijklmnopqrstuvwxyz

~/swishperl/swish-e-2.1.8/t > fgrep WORDCHARS ../src/config.h 
#define WORDCHARS "abcdefghijklmnopqrstuvwxyz;&0123456789#"

Bill Moseley
mailto:moseley@hank.org
Received on Mon Nov 27 20:10:11 2000