fire-search-0.5.10 - cmd line program that sends and receives P2PIO messages. Usage: fire-search [OPTION]... [URL] Mandatory arguments to long options are mandatory for short options too. Startup: -v, --version display the version of this program and exit. --help print this help and exit. P2PIO options: -q, --query=STRING|@FILE use STRING or FILE as query in P2PIO OPEN msg. --type=xpath|xquery|grep|sql|publish|nums|generic - type of the query. --recmode=single|multi the RECEIVE.mode value (default='single'). --recmin=INTEGER the RECEIVE.min value (default=100). --recmax=INTEGER the RECEIVE.max value (default=10000). --maxitems=STRING total number of items to return (default=infinity). --transtimeout=SECS sets the OPEN.timeout to SECONDS (default=10). XPath options: (type='xpath') -n, --namespaces=FILE add namespace declarations from properties file. XQuery options: (type='xquery') --params=FILE add XQuery parameters from properties file. Grep options: (type='grep') --groupnames=STRING:STRING:STRING ... set XML names of groups. Publish options: (type='publish') --query=STRING|@FILE an XML document with elements to be published. ListNumbers options: (type='nums') --query=INTEGER the number of items to be produced. Firefish query options: --cgi=STRING whitespace separated command line args. Logging: -l, --loglevel=all|trace|debug|info|warn|error|fatal|off (default='info'). --style=giga|mega|micro|nano|none progress bar dots (default='nano'). Examples: fire-search --type=nums --query=10 http://localhost:8080/firefish/services/Search fire-search --type=xpath --query='/*/*' http://localhost:8080/firefish/services/Search fire-search --type=xpath --query='/*/*' --recmax=3 --maxitems=10 --transtimeout=10 --loglevel=debug http://localhost:8080/firefish/services/Search fire-search --type=xpath --query='/moreovernews/article[@code > 13553522]' http://localhost:8080/firefish/services/Search fire-search --type=xpath --query='count(/itemSet/item[@type=service])' http://localhost:8080/firefish/services/Search fire-search --type=xquery --query='for $i in /*/* return $i/headline_text' http://localhost:8080/firefish/services/Search fire-search --type=grep --query='(.+?) (- -) \[(.+?)\] "(.+?) (.*?firefish.*?) (.+?)" (.+?) (.*)' --groupnames=all:host:dummy:time:cmd:url:protocol:statusCode:fileSize http://localhost:8080/firefish/services/Search fire-search --type=publish --query=@itemSetToPublish.xml http://localhost:8080/firefish/services/Search Mail bug reports and suggestions to http://dsd.lbl.gov/firefish.