NEWB Q: Can beagle-query read search terms from a file?

View: New views
2 Messages — Rating Filter:   Alert me  

NEWB Q: Can beagle-query read search terms from a file?

by Bob Huber :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I just started using beagle-query and I was wondering if you can send beagle-query a text file full of keywords to search on versus using the command line.

e.g.  beagle-query -f search_term_file

kind of like

grep -f filename *

instead of beagle-query keyword1 or keyword2 or keyword3
Thanks,

Bob


_______________________________________________
Dashboard-hackers mailing list
Dashboard-hackers@...
http://mail.gnome.org/mailman/listinfo/dashboard-hackers

Re: NEWB Q: Can beagle-query read search terms from a file?

by D Bera :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Bob,

> I just started using beagle-query and I was wondering if you can send
> beagle-query a text file full of keywords to search on versus using the
> command line.
>
> e.g.  beagle-query -f search_term_file
>
> kind of like
>
> grep -f filename *
>
> instead of beagle-query keyword1 or keyword2 or keyword3

No. Nothing like that can be currently done with beagle-query.
However, you should be able to do some xargs trick to generate a large
OR query from such a string and send it to beagle-query.

- dBera

--
-----------------------------------------------------
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user
_______________________________________________
Dashboard-hackers mailing list
Dashboard-hackers@...
http://mail.gnome.org/mailman/listinfo/dashboard-hackers
LightInTheBox - Buy quality products at wholesale price!