home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math
- Path: sparky!uunet!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watserv1!graceland.uwaterloo.ca!shallit
- From: shallit@graceland.uwaterloo.ca (Jeffrey Shallit)
- Subject: "amslookup" shell script to search AMS database
- Message-ID: <BtyswE.87L@watserv1.uwaterloo.ca>
- Sender: news@watserv1.uwaterloo.ca
- Organization: University of Waterloo
- Date: Wed, 2 Sep 1992 19:02:37 GMT
- Lines: 27
-
- I got a copy of Ken Ribet's shell script below, which he calls
- "amslookup", from Jerry Tunnell. Ken told me he's posted this
- to the net before, but I never saw it, so he agreed I could post
- it again.
-
- Here it is:
-
- ---------------------------------cut here-------------------------
- #
- #From ribet@math.berkeley.edu Tue Sep 1 14:31:59 1992
- #
- #I did indeed write it, and I think that I posted it to sci.math
- #at one point. You're 100% welcome to spread it around. The
- #"sed" part of the pipe is to get rid of control-M's that are
- #visible if you use "less" instead of "more". If you really use
- #"more", there's no need to strip out the control-M's.
- #
- (echo ${1} | /usr/etc/mconnect -p 2050 e-math.ams.com) | sed 's/^M//' | /usr/ucb/more
-
- --------------------cut here-------------------------------------------
-
- This script takes as an argument a mathematician's name (such as "ribet")
- and returns the record stored in the AMS/CML database (with address,
- phone, e-mail address, etc.) Pretty useful! No guarantee it works
- everywhere, but it works on my Sun.
-
- Jeff Shallit
-