#!/bin/sh # # xyzzy: Do magic ;-) # # This version of xyzzy supports all the reactions described in the # Jargon File 4.4.7, http://www.catb.org/~esr/jargon/ that make # (some) sense for a command line tool. It also includes GNU style # options and some additional magic incantations. If you know about # other behaviour of xyzzy implementations or any more magic # incantations you feel should be included, feel free to email me. # # The full link (Sun Feb 20 02:53:23 CET 2005) to the Jargon file # entry is http://www.catb.org/~esr/jargon/html/X/xyzzy.html # # Copyright 1998, 2005 by Stephan Schulz, schulz@eprover.org # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program ; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA # # The original copyright holder can be contacted as # # Stephan Schulz # Helene-Mayer-Ring 10/907 # D-80809 Muenchen # Germany case "$1" in -h|--help) echo 'xyzzy: Do magic' echo 'Usage: xyzzy -h|--help' echo ' xyzzy -v|--version' echo ' xyzzy [