1 #!/usr/local/src/cmd/calc/calc -q -f
3 * simple - an example of a simple calc shell script
5 * Copyright (C) 1999-2007 Landon Curt Noll
7 * Calc is open software; you can redistribute it and/or modify it under
8 * the terms of the version 2.1 of the GNU Lesser General Public License
9 * as published by the Free Software Foundation.
11 * Calc is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
14 * Public License for more details.
16 * A copy of version 2.1 of the GNU Lesser General Public License is
17 * distributed with calc under the filename COPYING-LGPL. You should have
18 * received a copy with calc; if not, write to Free Software Foundation, Inc.
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 * @(#) $Revision: 30.1 $
22 * @(#) $Id: simple.calc,v 30.1 2007/03/16 11:12:11 chongo Exp $
23 * @(#) $Source: /usr/local/src/bin/calc/cscript/RCS/simple.calc,v $
25 * Under source code control: 1999/11/29 10:22:37
26 * File existed as early as: 1999
28 * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
29 * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
34 * This is an example of a simple calc shell script.
36 print "This simple calc shell script works!"