Re: Command line filtering

Johannes Zarl-Zierl <[email protected]>
Newsgroups gmane.comp.kde.kimdaba
Message-ID <7322569.1MZPeehLAZ@mani>
Hi Robert,

I have to say, I really like the whole idea of kpa-filter. I still have some 
trouble testing it, though. Maybe some of my problems are bugs, probably I'm 
just using it wrong:

1. Calling kpa-filter without arguments loops indefinitely
At least, it seems like this - I used Ctrl-C after a few minutes. I'm not sure 
what the intended outcome would be. I had expected either a listing of all 
files in the index.xml or just the help message.

1a: My naive try to get a file listing did result in the same infinite loop:
$ contrib/kpa-filter '($yearFrom > 1900)'

2. How do I use the "--db" option?
I tried the following command in the kphotoalbum source directory:
$ kpa-filter --db "$PWD/demo/index.xml"
Could not create file parser context for file "1": No such file or directory 
at contrib/kpa-filter line 494.

3. The "--count" option does seem to do nothing in the following call:
$ kpa-filter -c -l cat:Keywords


Cheers,
  Johannes
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.