NAME
adsquery - tool to query ADS and print out the result
SYNOPSIS
adsquery --author="Jenness,T."
DESCRIPTION
Command line interface to the Astro::ADS
classes. Given some query parameters (such as author) a query is sent to the ADS and the result is sent to standard output.
ARGUMENTS
The following arguments are recognized:
- --help
-
Print a usage message.
- --man
-
List the full documentation.
- --version
-
The version number.
-
Specify the author to use for the query. Multiple authors can be specified simply by using the option more than once.
adsquery --author="Author1" --author="Author2"
- --bibcode
-
Specify a bibcode to use for the query. If a bibcode (or multiple bibcodes) is specified then any authors supplied are ignored since a bibcode is unique.
- --bibfile
-
Name of a file containing multiple bibcodes. One bibcode per line. If the file can not be found the command aborts.
- --count
-
Simply counts the number of papers that match the query and exits.
- --useor
-
Use OR logic with the author list. Default is to AND the authors for the query.
- --xml
-
Output the results in XML where the element names are the same as the query fields. The top level element is <ADSResult>. Default is to print a tabulated ASCII result.
- --debug
-
Turn on debug messages. Default is off.
BUGS
Currently only a single bibcode is used for a bib query even if multiple values are supplied.
AUTHORS
Tim Jenness <t.jenness@jach.hawaii.edu>
COPYRIGHT
Copyright (C) 2001 Tim Jenness. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.