bibget: command-line front-end for MathSciNet and adsabs.Harvard.EDU

The shell script bibget is a command-line front end for MathSciNet, designed for generating bibtex databases. Really no big deal, but seems very handy.
To use it, you need to be on a network that has the access to MathSciNet (most US and Canadian universities are subscribed to this database), or to be able to ssh to an institution with the access (see bibget --help below).
bibget will use either wget or lynx or curl as its back-end (either should be available).

The latest version of this page lives at http://www.math.tamu.edu/~comech/tools/bibget/

The shell script could be downloaded from http://www.math.tamu.edu/~comech/tools/bibget/bibget

Basic usage: bibget

bibget a=gilkey t=invariance book 1984

@book {MR1396308,
    AUTHOR = {Gilkey, Peter B.},
     TITLE = {Invariance theory, the heat equation, and the
              {A}tiyah-{S}inger index theorem},
    SERIES = {Studies in Advanced Mathematics},
   EDITION = {Second},
 PUBLISHER = {CRC Press},
   ADDRESS = {Boca Raton, FL},
      YEAR = {1995},
     PAGES = {x+516},
      ISBN = {0-8493-7874-4},
   MRCLASS = {58Gxx (58G10 58G11)},
  MRNUMBER = {MR1396308 (98b:58156)},
MRREVIEWER = {Matthias Lesch},
}
@book {MR783634,
    AUTHOR = {Gilkey, Peter B.},
     TITLE = {Invariance theory, the heat equation, and the
              {A}tiyah-{S}inger index theorem},
    SERIES = {Mathematics Lecture Series},
    VOLUME = {11},
 PUBLISHER = {Publish or Perish Inc.},
   ADDRESS = {Wilmington, DE},
      YEAR = {1984},
     PAGES = {viii+349},
      ISBN = {0-914098-20-9},
   MRCLASS = {58G11 (58G10)},
  MRNUMBER = {MR783634 (86j:58144)},
MRREVIEWER = {Th. Friedrich},
}

bibget r=MR783634 >> books.bib

Bugs and features


More options; ssh tunneling

NOTE: FOR WHATEVER REASON, SSH TUNNELING STOPPED WORKING.
bibget --help

bibget, version 2.0: Command-line front-end for MathSciNet index.

GENERAL SEARCH:  bibget [ [ k=]keyword ] [ a=author ] [ t=title ] [ j=journal ]
 
  EXAMPLES:  bibget a=gilkey t=invariance book 1984
             bibget r=MR783634 >> books.bib

OTHER OPTIONS:
         [ -m mirror | --mirror mirror ] use alternative MathSciNet mirror
         [ -d | --debug ] debugging

OTHER USAGE:
  bibget [ r=MRnumber | -r MRnumber ]    grab a reference with given MRnumber
  bibget [ -m | -l | --list ]            list of some MathSciNet mirrors
  bibget [ -doi  | doi= ]   extract bibsource from doi.org
  bibget [ -h | --help ]                this help

EXAMPLE OF SSH TUNNELING (via the institution subscribed to MathSciNet):
  ...no longer works. Try this instead:
  ssh fourier.math.tamu.edu "bibget a=gilkey t=invariance book 1984" 2>/dev/null

  (C) Andrew Comech, 2008--2018.  GNU General Public License.

  BIBTEX extraction from DOI is borrowed from Pavel Panchekha,
  https://gist.github.com/pavpanchekha/f42c11807e3e8033f10f



Related things

MREF: Poor man's access to MathSciNet database without subscription "References and Citations" by Edward Dunne
tex2bib BIBTEX + DOI + ARXIV'S EPRINT HOWTO:

Written by Andrew Comech