From 57a22a6f3947cd2e55a3f9d90427b0aa071029b6 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Sun, 1 Sep 2013 20:07:26 -0700 Subject: [PATCH] Release calc version 2.12.4.12 --- CHANGES | 25 +- Makefile | 6 +- Makefile.simple | 6 +- cal/Makefile | 58 +++- cal/README | 28 +- cal/infinities.cal | 88 +++++ cal/intnum.cal | 728 +++++++++++++++++++++++++++++++++++++++++ cal/regress.cal | 214 +++++++----- cal/smallfactors.cal | 71 ++++ cal/strings.cal | 41 +++ calc.spec.in | 11 +- calcerr.tbl | 6 +- custom/Makefile | 6 +- custom/Makefile.head | 6 +- custom/Makefile.simple | 6 +- func.c | 41 ++- help/Makefile | 95 +++--- help/abs | 2 +- help/access | 2 +- help/acos | 2 +- help/acosh | 2 +- help/acot | 2 +- help/acoth | 2 +- help/acsc | 2 +- help/acsch | 2 +- help/address | 2 +- help/agd | 2 +- help/append | 2 +- help/appr | 2 +- help/archive | 2 +- help/arg | 2 +- help/argv | 2 +- help/arrow | 2 +- help/asec | 2 +- help/asech | 2 +- help/asin | 2 +- help/asinh | 2 +- help/assign | 2 +- help/assoc | 2 +- help/atan | 2 +- help/atan2 | 2 +- help/atanh | 2 +- help/avg | 2 +- help/base | 2 +- help/base2 | 2 +- help/bernoulli | 2 +- help/bit | 2 +- help/blk | 2 +- help/blkcpy | 2 +- help/blkfree | 2 +- help/blocks | 2 +- help/bround | 2 +- help/btrunc | 2 +- help/builtin.end | 2 +- help/builtin.top | 2 +- help/calc_tty | 2 +- help/calclevel | 2 +- help/calcpath | 2 +- help/catalan | 2 +- help/ceil | 2 +- help/cfappr | 2 +- help/cfsim | 2 +- help/char | 2 +- help/cmdbuf | 2 +- help/cmp | 2 +- help/comb | 2 +- help/command | 2 +- help/config | 2 +- help/conj | 2 +- help/contrib | 2 +- help/cos | 2 +- help/cosh | 2 +- help/cot | 2 +- help/coth | 2 +- help/count | 2 +- help/cp | 2 +- help/credit | 2 +- help/csc | 2 +- help/csch | 2 +- help/ctime | 2 +- help/custom | 2 +- help/define | 2 +- help/delete | 2 +- help/den | 2 +- help/dereference | 2 +- help/det | 2 +- help/digit | 2 +- help/digits | 2 +- help/display | 2 +- help/dp | 2 +- help/environment | 2 +- help/epsilon | 2 +- help/errcount | 2 +- help/errmax | 2 +- help/errno | 2 +- help/error | 2 +- help/errorcodes.hdr | 2 +- help/estr | 2 +- help/euler | 2 +- help/eval | 2 +- help/exp | 2 +- help/expression | 2 +- help/fact | 2 +- help/fclose | 2 +- help/fcnt | 2 +- help/feof | 2 +- help/ferror | 2 +- help/fflush | 2 +- help/fgetfield | 2 +- help/fgetfile | 2 +- help/fgetline | 2 +- help/fgets | 2 +- help/fgetstr | 2 +- help/fib | 2 +- help/file | 2 +- help/files | 2 +- help/floor | 2 +- help/fopen | 2 +- help/forall | 2 +- help/fprintf | 2 +- help/fputc | 2 +- help/fputs | 2 +- help/fputstr | 2 +- help/frac | 2 +- help/free | 2 +- help/freebernoulli | 2 +- help/freeeuler | 2 +- help/freeglobals | 2 +- help/freeredc | 2 +- help/freestatics | 2 +- help/frem | 2 +- help/freopen | 2 +- help/fscan | 2 +- help/fscanf | 2 +- help/fseek | 2 +- help/fsize | 2 +- help/ftell | 2 +- help/funclist.sed | 2 +- help/gcd | 2 +- help/gcdrem | 2 +- help/gd | 2 +- help/getenv | 2 +- help/hash | 2 +- help/head | 2 +- help/help | 2 +- help/highbit | 2 +- help/history | 2 +- help/hmean | 2 +- help/hnrmod | 2 +- help/hypot | 2 +- help/ilog | 2 +- help/ilog10 | 2 +- help/ilog2 | 2 +- help/im | 2 +- help/indices | 2 +- help/inputlevel | 2 +- help/insert | 2 +- help/int | 2 +- help/interrupt | 2 +- help/intro | 2 +- help/inverse | 2 +- help/iroot | 2 +- help/isalnum | 54 +++ help/isalpha | 54 +++ help/isassoc | 2 +- help/isatty | 2 +- help/isblk | 2 +- help/iscntrl | 54 +++ help/isconfig | 2 +- help/isdefined | 2 +- help/isdigit | 54 +++ help/iserror | 2 +- help/iseven | 2 +- help/isfile | 2 +- help/isgraph | 54 +++ help/ishash | 2 +- help/isident | 2 +- help/isint | 2 +- help/islist | 2 +- help/islower | 54 +++ help/ismat | 2 +- help/ismult | 2 +- help/isnull | 2 +- help/isnum | 2 +- help/isobj | 2 +- help/isobjtype | 2 +- help/isodd | 2 +- help/isprime | 2 +- help/isprint | 54 +++ help/isptr | 2 +- help/ispunct | 54 +++ help/isqrt | 2 +- help/isrand | 2 +- help/israndom | 2 +- help/isreal | 2 +- help/isrel | 2 +- help/issimple | 2 +- help/isspace | 54 +++ help/issq | 2 +- help/isstr | 2 +- help/istype | 2 +- help/isupper | 54 +++ help/isxdigit | 54 +++ help/jacobi | 2 +- help/join | 2 +- help/lcm | 2 +- help/lcmfact | 2 +- help/lfactor | 2 +- help/list | 2 +- help/ln | 2 +- help/log | 2 +- help/lowbit | 2 +- help/ltol | 2 +- help/makelist | 2 +- help/mat | 2 +- help/matdim | 2 +- help/matfill | 2 +- help/matmax | 2 +- help/matmin | 2 +- help/matsum | 2 +- help/mattrace | 2 +- help/mattrans | 2 +- help/max | 2 +- help/memsize | 2 +- help/meq | 2 +- help/min | 2 +- help/minv | 2 +- help/mmin | 2 +- help/mne | 2 +- help/mod | 2 +- help/modify | 2 +- help/name | 2 +- help/near | 2 +- help/newerror | 2 +- help/nextcand | 2 +- help/nextprime | 2 +- help/norm | 2 +- help/null | 2 +- help/num | 2 +- help/oldvalue | 2 +- help/operator | 2 +- help/ord | 2 +- help/overview | 2 +- help/param | 2 +- help/perm | 2 +- help/pfact | 2 +- help/pi | 2 +- help/pix | 2 +- help/places | 2 +- help/pmod | 2 +- help/polar | 2 +- help/poly | 2 +- help/pop | 2 +- help/popcnt | 2 +- help/pound | 2 +- help/power | 2 +- help/prevcand | 2 +- help/prevprime | 2 +- help/printf | 2 +- help/prompt | 2 +- help/protect | 2 +- help/ptest | 2 +- help/push | 2 +- help/putenv | 2 +- help/quo | 2 +- help/quomod | 2 +- help/rand | 2 +- help/randbit | 2 +- help/random | 2 +- help/randombit | 2 +- help/randperm | 2 +- help/rcin | 2 +- help/rcmul | 2 +- help/rcout | 2 +- help/rcpow | 2 +- help/rcsq | 2 +- help/re | 2 +- help/remove | 2 +- help/reverse | 2 +- help/rewind | 2 +- help/rm | 2 +- help/root | 2 +- help/round | 2 +- help/rsearch | 2 +- help/runtime | 2 +- help/saveval | 2 +- help/scale | 2 +- help/scan | 2 +- help/scanf | 2 +- help/script | 2 +- help/search | 2 +- help/sec | 2 +- help/sech | 2 +- help/seed | 2 +- help/segment | 2 +- help/select | 2 +- help/sgn | 2 +- help/sha1 | 2 +- help/sin | 2 +- help/sinh | 2 +- help/size | 2 +- help/sizeof | 2 +- help/sleep | 2 +- help/sort | 2 +- help/sqrt | 2 +- help/srand | 2 +- help/srandom | 2 +- help/ssq | 2 +- help/statement | 2 +- help/stoponerror | 2 +- help/str | 2 +- help/strcasecmp | 68 ++++ help/strcat | 2 +- help/strerror | 2 +- help/strlen | 2 +- help/strncasecmp | 71 ++++ help/strpos | 2 +- help/strprintf | 2 +- help/strscan | 2 +- help/strscanf | 2 +- help/strtolower | 47 +++ help/strtoupper | 47 +++ help/substr | 2 +- help/sum | 2 +- help/swap | 2 +- help/system | 2 +- help/systime | 2 +- help/tail | 2 +- help/tan | 2 +- help/tanh | 2 +- help/test | 2 +- help/time | 2 +- help/todo | 2 +- help/trunc | 2 +- help/types | 2 +- help/unexpected | 2 +- help/usertime | 2 +- help/variable | 2 +- help/version | 2 +- help/wishlist | 2 +- help/xor | 2 +- str.c | 45 ++- value.h | 6 +- version.c | 6 +- win32/calcerr.c | 2 + win32/calcerr.h | 6 +- 346 files changed, 2444 insertions(+), 502 deletions(-) create mode 100644 cal/infinities.cal create mode 100644 cal/intnum.cal create mode 100644 cal/smallfactors.cal create mode 100644 cal/strings.cal create mode 100644 help/isalnum create mode 100644 help/isalpha create mode 100644 help/iscntrl create mode 100644 help/isdigit create mode 100644 help/isgraph create mode 100644 help/islower create mode 100644 help/isprint create mode 100644 help/ispunct create mode 100644 help/isspace create mode 100644 help/isupper create mode 100644 help/isxdigit create mode 100644 help/strcasecmp create mode 100644 help/strncasecmp create mode 100644 help/strtolower create mode 100644 help/strtoupper diff --git a/CHANGES b/CHANGES index 7d0bc75..b6d0e1a 100644 --- a/CHANGES +++ b/CHANGES @@ -1,7 +1,7 @@ The following are the changes from calc version 2.12.4.11 to date: Fixed many typos in comments of the Makefile thanks to the review - work of Michael Somos . + work of Michael Somos. Fixed typo in "help sysinfo". @@ -12,9 +12,9 @@ The following are the changes from calc version 2.12.4.11 to date: Christoph Zurnieden including: infinities.cal - handle infinities symbolically, a little helper file - intnum.cal - implementation of tanhsinh- and Gauss-Legendre quadrature + intnum.cal - implementation of tanh sinh and Gauss-Legendre quadrature smallfactors.cal - find the factors of a number < 2^32 - strings.cal - implementation of the macros in ctype.h plus str[n]casecmp + strings.cal - implementation of isascii() and isblank() Reformatted some calc resource files. Cleanup in comment the headers of some calc resource files. @@ -38,6 +38,8 @@ The following are the changes from calc version 2.12.4.11 to date: isxdigit - whether character a hexadecimal digit strcasecmp - compare two strings, case independent strncasecmp - compare two strings up to n characters, case independent + strtolower - transform an ASCII string to lower case + strtoupper - transform an ASCII string to upper case For details on these new builtins, see their help messages. Thanks goes to Inge Zurnieden for @@ -60,6 +62,16 @@ The following are the changes from calc version 2.12.4.11 to date: http://cis.csuohio.edu/~somos/picky.html + Removed functions from strings.cal that have been replaced by + the new ctype-like builtin functions. + + Fixed cal/Makefile to include missing intnum.cal file. + + Added detail_help_list make target to cal/Makefile. + + The detaillist make target in help/Makefile is now + called detail_help_list. + The following are the changes from calc version 2.12.4.6 to version 2.12.4.10: @@ -1279,8 +1291,7 @@ The following are the changes from calc version 2.11.10 to 2.11.10: The following are the changes from calc version 2.11.9 to 2.11.9.3: Fixed calc man page examples to move -f to the end of the line. - Thanks goes to Michael Somos for pointing this out. + Thanks goes to Michael Somos for pointing this out. Linux and gcc now compiled with -Wall -W -Wno-comment. @@ -6944,8 +6955,8 @@ Following is a list of visible changes to calc from version 1.24.7 to 1.26.1: ## received a copy with calc; if not, write to Free Software Foundation, Inc. ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ## -## @(#) $Revision: 30.33 $ -## @(#) $Id: CHANGES,v 30.33 2013/09/01 22:19:41 chongo Exp $ +## @(#) $Revision: 30.37 $ +## @(#) $Id: CHANGES,v 30.37 2013/09/02 02:31:57 chongo Exp $ ## @(#) $Source: /usr/local/src/bin/calc/RCS/CHANGES,v $ ## ## Under source code control: 1993/06/02 18:12:57 diff --git a/Makefile b/Makefile index f0acf9d..34cd63b 100644 --- a/Makefile +++ b/Makefile @@ -39,8 +39,8 @@ # received a copy with calc; if not, write to Free Software Foundation, Inc. # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # -MAKEFILE_REV= $$Revision: 30.58 $$ -# @(#) $Id: Makefile.ship,v 30.58 2013/08/18 20:36:50 chongo Exp $ +MAKEFILE_REV= $$Revision: 30.59 $$ +# @(#) $Id: Makefile.ship,v 30.59 2013/09/01 23:02:02 chongo Exp $ # @(#) $Source: /usr/local/src/bin/calc/RCS/Makefile.ship,v $ # # Under source code control: 1990/02/15 01:48:41 @@ -997,7 +997,7 @@ EXT= # The default calc versions # -VERSION= 2.12.4.11 +VERSION= 2.12.4.12 VERS= 2.12.4 VER= 2.12 VE= 2 diff --git a/Makefile.simple b/Makefile.simple index 088122e..f33e833 100644 --- a/Makefile.simple +++ b/Makefile.simple @@ -39,8 +39,8 @@ # received a copy with calc; if not, write to Free Software Foundation, Inc. # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # -MAKEFILE_REV= $$Revision: 30.58 $$ -# @(#) $Id: Makefile.ship,v 30.58 2013/08/18 20:36:50 chongo Exp $ +MAKEFILE_REV= $$Revision: 30.59 $$ +# @(#) $Id: Makefile.ship,v 30.59 2013/09/01 23:02:02 chongo Exp $ # @(#) $Source: /usr/local/src/bin/calc/RCS/Makefile.ship,v $ # # Under source code control: 1990/02/15 01:48:41 @@ -974,7 +974,7 @@ EXT= # The default calc versions # -VERSION= 2.12.4.11 +VERSION= 2.12.4.12 VERS= 2.12.4 VER= 2.12 VE= 2 diff --git a/cal/Makefile b/cal/Makefile index 6e23b45..8a682fb 100644 --- a/cal/Makefile +++ b/cal/Makefile @@ -18,8 +18,8 @@ # received a copy with calc; if not, write to Free Software Foundation, Inc. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -# @(#) $Revision: 30.7 $ -# @(#) $Id: Makefile,v 30.7 2013/08/11 09:07:26 chongo Exp $ +# @(#) $Revision: 30.10 $ +# @(#) $Id: Makefile,v 30.10 2013/09/02 03:02:00 chongo Exp $ # @(#) $Source: /usr/local/src/bin/calc/cal/RCS/Makefile,v $ # # Under source code control: 1991/07/21 05:00:54 @@ -179,19 +179,32 @@ MV= mv CO= co TRUE= true TOUCH= touch +SED= sed +SORT= sort +FMT= fmt # The calc files to install # -CALC_FILES= alg_config.cal beer.cal bernoulli.cal bernpoly.cal \ - bigprime.cal bindings brentsolve.cal chi.cal chrem.cal constants.cal \ - deg.cal dms.cal dotest.cal ellip.cal factorial2.cal factorial.cal \ - gvec.cal hello.cal hms.cal intfile.cal lambertw.cal linear.cal \ - lnseries.cal lucas.cal lucas_chk.cal lucas_tbl.cal mersenne.cal \ - mfactor.cal mod.cal natnumset.cal pell.cal pi.cal pix.cal pollard.cal \ - poly.cal prompt.cal psqrt.cal qtime.cal quat.cal randbitrun.cal \ - randmprime.cal randombitrun.cal randomrun.cal randrun.cal README \ - regress.cal repeat.cal screen.cal seedrandom.cal set8700.cal \ - set8700.line solve.cal specialfunctions.cal statistics.cal sumsq.cal \ +# This list is prodiced by the detaillist rule when no WARNINGS are detected. +# +# Please use: +# +# make calc_files_list +# +# to keep this list in nice sorted order and to check that these +# deailed help files are under RCS control. +# +CALC_FILES= README alg_config.cal beer.cal bernoulli.cal \ + bernpoly.cal bigprime.cal bindings brentsolve.cal chi.cal chrem.cal \ + constants.cal deg.cal dms.cal dotest.cal ellip.cal factorial.cal \ + factorial2.cal gvec.cal hello.cal hms.cal infinities.cal \ + intfile.cal intnum.cal lambertw.cal linear.cal lnseries.cal \ + lucas.cal lucas_chk.cal lucas_tbl.cal mersenne.cal mfactor.cal \ + mod.cal natnumset.cal pell.cal pi.cal pix.cal pollard.cal poly.cal \ + prompt.cal psqrt.cal qtime.cal quat.cal randbitrun.cal randmprime.cal \ + randombitrun.cal randomrun.cal randrun.cal regress.cal repeat.cal \ + screen.cal seedrandom.cal set8700.cal set8700.line smallfactors.cal \ + solve.cal specialfunctions.cal statistics.cal strings.cal sumsq.cal \ sumtimes.cal surd.cal test1700.cal test2300.cal test2600.cal \ test2700.cal test3100.cal test3300.cal test3400.cal test3500.cal \ test4000.cal test4100.cal test4600.cal test5100.cal test5200.cal \ @@ -244,6 +257,27 @@ calcliblist: fi; \ done +# These next rule help form the ${CALC_FILES} makefile variables above. +# +calc_files_list: + ${Q} -(find . -mindepth 1 -maxdepth 1 -type f -name '*.cal' -print | \ + while read i; do \ + if [ X"$$i" != X"/dev/null" ]; then \ + if [ ! -f RCS/$$i,v ]; then \ + echo "WARNING: $$i not under RCS control" 1>&2; \ + else \ + echo $$i; \ + fi; \ + fi; \ + done; \ + echo '--first_line--'; \ + echo README; \ + echo set8700.line; \ + echo bindings) | \ + ${SED} -e 's:^\./::' | LANG=C ${SORT} | ${FMT} -70 | \ + ${SED} -e '1s/--first_line--/CALC_FILES=/' -e '2,$$s/^/ /' \ + -e 's/$$/ \\/' -e '$$s/ \\$$//' + ## # # rpm rules diff --git a/cal/README b/cal/README index 1760a37..508bc7b 100644 --- a/cal/README +++ b/cal/README @@ -1382,25 +1382,17 @@ statistics.cal strings.cal - toupper(s) - tolower(s) - strcasecmp(s1,s2) - strncasecmp(s1,s2,length) isascii(c) - isalnum(c) - isalpha(c) - iscntrl(c) - isdigit(c) - isgraph(c) - islower(c) - isprint(c) - ispunct(c) - isspace(c) - isupper(c) isblank(c) - isxdigit(c) - Implements most of the functions of libc's ctype.h and strings.h. + Implements some of the functions of libc's ctype.h and strings.h. + + NOTE: A number of the ctype.h and strings.h functions are now builtin + functions in calc. + + WARNING: If the remaining functions in this calc resource file become + calc builtin functions, then strings.cal may be removed in + a future release. sumsq.cal @@ -1792,8 +1784,8 @@ zeta2.cal ## received a copy with calc; if not, write to Free Software Foundation, Inc. ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ## -## @(#) $Revision: 30.6 $ -## @(#) $Id: README,v 30.6 2013/08/18 20:01:53 chongo Exp $ +## @(#) $Revision: 30.8 $ +## @(#) $Id: README,v 30.8 2013/09/02 01:46:05 chongo Exp $ ## @(#) $Source: /usr/local/src/bin/calc/cal/RCS/README,v $ ## ## Under source code control: 1990/02/15 01:50:32 diff --git a/cal/infinities.cal b/cal/infinities.cal new file mode 100644 index 0000000..3f293ae --- /dev/null +++ b/cal/infinities.cal @@ -0,0 +1,88 @@ +/* + * infinities - handle infinities symbolically, a little helper file + * + * Copyright (C) 2013 Christoph Zurnieden + * + * Calc is open software; you can redistribute it and/or modify it under + * the terms of the version 2.1 of the GNU Lesser General Public License + * as published by the Free Software Foundation. + * + * Calc 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 Lesser General + * Public License for more details. + * + * A copy of version 2.1 of the GNU Lesser General Public License is + * distributed with calc under the filename COPYING-LGPL. You should have + * received a copy with calc; if not, write to Free Software Foundation, Inc. + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + + +static resource_debug_level; +resource_debug_level = config("resource_debug", 0); + + +define isinfinite(x) +{ + if (isstr(x)) { + if (strncmp(x, "cinf", 4) == 0 + || strncmp(x, "pinf", 4) == 0 || strncmp(x, "ninf", 4) == 0) + return 1; + } + return 0; +} + +define iscinf(x) +{ + if (isstr(x)) { + if (strncmp(x, "cinf", 4) == 0) + return 1; + } + return 0; +} + +define ispinf(x) +{ + if (isstr(x)) { + if (strncmp(x, "pinf", 4) == 0) + return 1; + } + return 0; +} + +define isninf(x) +{ + if (isstr(x)) { + if (strncmp(x, "ninf", 4) == 0) + return 1; + } + return 0; +} + +define cinf() +{ + return "cinf"; +} + +define ninf() +{ + return "ninf"; +} + +define pinf() +{ + return "pinf"; +} + + +config("resource_debug", resource_debug_level),; +if (config("resource_debug") & 3) { + print "isinfinite(x)"; + print "iscinf(x)"; + print "ispinf(x)"; + print "isninf(x)"; + print "cinf()"; + print "ninf()"; + print "pinf()"; +} diff --git a/cal/intnum.cal b/cal/intnum.cal new file mode 100644 index 0000000..9960ecb --- /dev/null +++ b/cal/intnum.cal @@ -0,0 +1,728 @@ +/* + * intnum - implementation of tanhsinh- and Gauss-Legendre quadrature + * + * Copyright (C) 2013 Christoph Zurnieden + * + * Calc is open software; you can redistribute it and/or modify it under + * the terms of the version 2.1 of the GNU Lesser General Public License + * as published by the Free Software Foundation. + * + * Calc 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 Lesser General + * Public License for more details. + * + * A copy of version 2.1 of the GNU Lesser General Public License is + * distributed with calc under the filename COPYING-LGPL. You should have + * received a copy with calc; if not, write to Free Software Foundation, Inc. + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + + +static resource_debug_level; +resource_debug_level = config("resource_debug", 0); + + +read -once infinities; + +static __CZ__tanhsinh_x; +static __CZ__tanhsinh_w; +static __CZ__tanhsinh_order; +static __CZ__tanhsinh_prec; + +define quadtsdeletenodes() +{ + free(__CZ__tanhsinh_x); + free(__CZ__tanhsinh_w); + free(__CZ__tanhsinh_order); + free(__CZ__tanhsinh_prec); +} + +define quadtscomputenodes(order, expo, eps) +{ + local t cht sht chp sum k PI places; + local h t0 x w; + if (__CZ__tanhsinh_order == order && __CZ__tanhsinh_prec == eps) + return 1; + __CZ__tanhsinh_order = order; + __CZ__tanhsinh_prec = eps; + __CZ__tanhsinh_x = list(); + __CZ__tanhsinh_w = list(); + /* The tanhsinh algorithm needs a slightly higher precision than G-L */ + eps = epsilon(eps * 1e-2); + places = highbit(1 + int (1 / epsilon())) +1; + PI = pi(); + sum = 0; + t0 = 2 ^ (-expo); + h = 2 * t0; + /* + * The author wanted to use the mpmath trick here which was + * advertised---and reasonably so!---to be faster. Didn't work out + * so well with calc. + * PI4 = PI/4; + * expt0 = bround(exp(t0),places); + * a = bround( PI4 * expt0,places); + * b = bround(PI4 / expt0,places); + * udelta = bround(exp(h),places); + * urdelta = bround(1/udelta,places); + */ + /* make use of x(-t) = -x(t), w(-t) = w(t) */ + for (k = 0; k < 20 * order + 1; k++) { + /* + * x = tanh(pi/2 * sinh(t)) + * w = pi/2 * cosh(t) / cosh(pi/2 * sinh(t))^2 + */ + t = bround(t0 + k * h, places); + + cht = bround(cosh(t), places); + sht = bround(sinh(t), places); + chp = bround(cosh(0.5 * PI * sht), places); + x = bround(tanh(0.5 * PI * sht), places); + w = bround((PI * h * cht) / (2 * chp ^ 2), places); + /* + * c = bround(exp(a-b),places); + * d = bround(1/c,places); + * co =bround( (c+d)/2,places); + * si =bround( (c-d)/2,places); + * x = bround(si / co,places); + * w = bround((a+b) / co^2,places); + */ + if (abs(x - 1) <= eps) + break; + + append(__CZ__tanhsinh_x, x); + append(__CZ__tanhsinh_w, w); + /* + * a *= udelta; + * b *= urdelta; + */ + } + + /* Normalize the weights to make them add up to 2 (two) */ + /* + * for(k=0;k < size(__CZ__tanhsinh_w);k++) + * sum = bround(sum + __CZ__tanhsinh_w[k],places); + * sum *= 2; + * for(k=0;k < size(__CZ__tanhsinh_w);k++) + * __CZ__tanhsinh_w[k] = bround(2.0 * __CZ__tanhsinh_w[k] / sum,places); + */ + + epsilon(eps); + return 1; +} + +define quadtscore(a, b, n) +{ + local k c d order eps places sum ret x x1 x2 xm w w1 w2 m sizel; + + eps = epsilon(epsilon() * 1e-2); + places = highbit(1 + int (1 / epsilon())) +1; + m = int (4 + max(0, ln(places / 30.0) / ln(2))) + 2; + if (!isnull(n)) { + order = n; + m = ilog(order / 3, 2) + 1; + } else + order = 3 * 2 ^ (m - 1); + + quadtscomputenodes(order, m, epsilon()); + sizel = size(__CZ__tanhsinh_w); + + if (isinfinite(a) || isinfinite(b)) { + /* + * x + * t = ------------ + * 2 + * sqrt(1 - y ) + */ + if (isninf(a) && ispinf(b)) { + for (k = 0; k < sizel; k++) { + x1 = __CZ__tanhsinh_x[k]; + x2 = -__CZ__tanhsinh_x[k]; + w1 = __CZ__tanhsinh_w[k]; + + x = bround(x1 * (1 - x1 ^ 2) ^ (-1 / 2), places); + xm = bround(x2 * (1 - x2 ^ 2) ^ (-1 / 2), places); + w = bround(w1 * (((1 - x1 ^ 2) ^ (-1 / 2)) / (1 - x1 ^ 2)), + places); + w2 = bround(w1 * (((1 - x2 ^ 2) ^ (-1 / 2)) / (1 - x2 ^ 2)), + places); + sum += bround(w * f(x), places); + sum += bround(w2 * f(xm), places); + } + } + /* + * 1 + * t = - - + b + 1 + * x + */ + else if (isninf(a) && !iscinf(b)) { + for (k = 0; k < sizel; k++) { + x1 = __CZ__tanhsinh_x[k]; + x2 = -__CZ__tanhsinh_x[k]; + w1 = __CZ__tanhsinh_w[k]; + + x = bround((b + 1) - (2 / (x1 + 1)), places); + xm = bround((b + 1) - (2 / (x2 + 1)), places); + w = bround(w1 * (1 / 2 * (2 / (x1 + 1)) ^ 2), places); + w2 = bround(w1 * (1 / 2 * (2 / (x2 + 1)) ^ 2), places); + sum += bround(w * f(x), places); + sum += bround(w2 * f(xm), places); + } + } + /* + * 1 + * t = - + a - 1 + * x + */ + else if (!iscinf(a) && ispinf(b)) { + for (k = 0; k < sizel; k++) { + x1 = __CZ__tanhsinh_x[k]; + x2 = -__CZ__tanhsinh_x[k]; + w1 = __CZ__tanhsinh_w[k]; + x = bround((a - 1) + (2 / (x1 + 1)), places); + xm = bround((a - 1) + (2 / (x2 + 1)), places); + w = bround(w1 * (((1 / 2) * (2 / (x1 + 1)) ^ 2)), places); + w2 = bround(w1 * (((1 / 2) * (2 / (x2 + 1)) ^ 2)), places); + sum += bround(w * f(x), places); + sum += bround(w2 * f(xm), places); + } + } else if (isninf(a) || isninf(b)) { + /*TODO: swap(a,b) and negate(w)? Lookup! */ + return newerror("quadtscore: reverse limits?"); + } else { + return + newerror("quadtscore: complex infinity not yet implemented"); + } + ret = sum; + } else { + /* Avoid rounding errors */ + if (a == -1 && b == 1) { + c = 1; + d = 0; + } else { + c = (b - a) / 2; + d = (b + a) / 2; + } + sum = 0; + for (k = 0; k < sizel; k++) { + sum += + bround(__CZ__tanhsinh_w[k] * f(c * __CZ__tanhsinh_x[k] + d), + places); + sum += + bround(__CZ__tanhsinh_w[k] * f(c * -__CZ__tanhsinh_x[k] + d), + places); + } + ret = c * sum; + } + epsilon(eps); + return ret; +} + +static __CZ__quadts_error; + +define quadts(a, b, points) +{ + local k sp results epsbits nsect interval length segment slope C ; + local x1 x2 y1 y2 sum D1 D2 D3 D4; + if (param(0) < 2) + return newerror("quadts: not enough arguments"); + epsbits = highbit(1 + int (1 / epsilon())) +1; + if (param(0) < 3 || isnull(points)) { + /* return as given */ + return quadtscore(a, b); + } else { + if ((isinfinite(a) || isinfinite(b)) + && (!ismat(points) && !islist(points))) + return + newerror(strcat + ("quadts: segments of infinite length ", + "are not yet supported")); + if (ismat(points) || islist(points)) { + sp = size(points); + if (sp == 0) + return + newerror(strcat + ("quadts: variable 'points` must be a list or ", + "1d-matrix of a length > 0")); + /* check if all points are numbers */ + for (k = 0; k < sp; k++) { + if (!isnum(points[k])) + return + newerror(strcat + ("quadts: elements of 'points` must be", + " numbers only")); + } + /* We have n-1 intervals and a and b, hence n-1 + 2 results */ + results = mat[sp + 1]; + if (a != points[0]) { + results[0] = quadtscore(a, points[0]); + } else { + results[0] = 0; + } + if (sp == 1) { + if (b != points[0]) { + results[1] = quadtscore(points[0], b); + } else { + results[1] = 0; + } + } else { + for (k = 1; k < sp; k++) { + results[k] = quadtscore(points[k - 1], points[k]); + } + if (b != points[k - 1]) { + results[k] = quadtscore(points[k - 1], b); + } else { + results[k] = 0; + } + } + } else { + if (!isint(points) || points <= 0) + return newerror(strcat("quadts: variable 'points` must be a ", + "list or a positive integer")); + /* Taking "points" as the number of equally spaced intervals */ + results = mat[points + 1]; + /* It is easy if a,b lie on the real line */ + if (isreal(a) && isreal(b)) { + length = abs(a - b); + segment = length / points; + + for (k = 1; k <= points; k++) { + results[k - 1] = + quadtscore(a + (k - 1) * segment, a + k * segment); + } + } else { + /* We have at least one complex limit but treat "points" still + * as the number of equally spaced intervals on a straight line + * connecting a and b. Computing the segments here is a bit + * more complicated but not much, it should have been taught in + * highschool. + * Other contours by way of a list of points */ + slope = (im(b) - im(a)) / (re(b) - re(a)); + C = (im(a) + slope) * re(a); + length = abs(re(a) - re(b)); + segment = length / points; + + /* y = mx+C where m is the slope, x is the real part and y the + * imaginary part */ + if(re(a)>re(b))swap(a,b); + for (k = re(a); k <= (re(b)); k+=segment) { + x1 = slope*(k) + C; + results[k] = quadtscore(k + x1 * 1i); + } + } /* else of isreal */ + } /* else of ismat|islist */ + } /* else of isnull(points) */ + /* With a bit of undeserved luck we have a result by now. */ + sp = size(results); + for (k = 0; k < sp; k++) { + sum += results[k]; + } + return sum; +} + +static __CZ__gl_x; +static __CZ__gl_w; +static __CZ__gl_order; +static __CZ__gl_prec; + +define quadglcomputenodes(N) +{ + local places k l x w t1 t2 t3 t4 t5 r tmp; + + if (__CZ__gl_order == N && __CZ__gl_prec == epsilon()) + return; + + __CZ__gl_x = mat[N]; + __CZ__gl_w = mat[N]; + __CZ__gl_order = N; + __CZ__gl_prec = epsilon(); + + places = highbit(1 + int (1 / epsilon())) +1; + + /* + * Compute roots and weights (doing it inline seems to be fastest) + * Trick shamelessly stolen from D. Bailey et .al (program "arprec") + */ + for (k = 1; k <= N//2; k++) { + r = bround(cos(pi() * (k - .25) / (N + .5)), places); + while (1) { + t1 = 1, t2 = 0; + for (l = 1; l <= N; l++) { + t3 = t2; + t2 = t1; + t1 = bround(((2 * l - 1) * r * t2 - (l - 1) * t3) / l, places); + } + t4 = bround(N * (r * t1 - t2) / ((r ^ 2) - 1), places); + t5 = r; + tmp = t1 / t4; + r = r - tmp; + if (abs(tmp) <= epsilon()) + break; + } + x = r; + w = bround(2 / ((1 - r ^ 2) * t4 ^ 2), places); + + __CZ__gl_x[k - 1] = x; + __CZ__gl_w[k - 1] = w; + __CZ__gl_x[N - k] = -__CZ__gl_x[k - 1]; + __CZ__gl_w[N - k] = __CZ__gl_w[k - 1]; + } + return; +} + +define quadgldeletenodes() +{ + free(__CZ__gl_x); + free(__CZ__gl_w); + free(__CZ__gl_order); + free(__CZ__gl_prec); +} + +define quadglcore(a, b, n) +{ + local k c d digs order eps places sum ret err x x1 w w1 m; + local phalf x2 px1 spx1 u b1 a1 half; + + eps = epsilon(epsilon() * 1e-2); + places = highbit(1 + int (1 / epsilon())) +1; + if (!isnull(n)) + order = n; + else { + m = int (4 + max(0, ln(places / 30.0) / ln(2))) + 2; + order = 3 * 2 ^ (m - 1); + } + + + quadglcomputenodes(order, 1); + + if (isinfinite(a) || isinfinite(b)) { + if (isninf(a) && ispinf(b)) { + for (k = 0; k < order; k++) { + x1 = __CZ__gl_x[k]; + w1 = __CZ__gl_w[k]; + + x = bround(x1 * (1 - x1 ^ 2) ^ (-1 / 2), places); + w = bround(w1 * (((1 - x1 ^ 2) ^ (-1 / 2)) / (1 - x1 ^ 2)), + places); + sum += bround(w * f(x), places); + } + } else if (isninf(a) && !iscinf(b)) { + for (k = 0; k < order; k++) { + x1 = __CZ__gl_x[k]; + w1 = __CZ__gl_w[k]; + + x = bround((b + 1) - (2 / (x1 + 1)), places); + w = bround(w1 * (1 / 2 * (2 / (x1 + 1)) ^ 2), places); + sum += bround(w * f(x), places); + } + } else if (!iscinf(a) && ispinf(b)) { + for (k = 0; k < order; k++) { + x1 = __CZ__gl_x[k]; + w1 = __CZ__gl_w[k]; + x = bround((a - 1) + (2 / (x1 + 1)), places); + w = bround(w1 * (((1 / 2) * (2 / (x1 + 1)) ^ 2)), places); + sum += bround(w * f(x), places); + } + } else if (isninf(a) || isninf(b)) { + /*TODO: swap(a,b) and negate(w)? Lookup! */ + return newerror("quadglcore: reverse limits?"); + } else + return + newerror("quadglcore: complex infinity not yet implemented"); + ret = sum; + } else { + /* Avoid rounding errors */ + if (a == -1 && b == 1) { + c = 1; + d = 0; + } else { + c = (b - a) / 2; + d = (b + a) / 2; + } + sum = 0; + for (k = 0; k < order; k++) { + sum += bround(__CZ__gl_w[k] * f(c * __CZ__gl_x[k] + d), places); + } + ret = c * sum; + } + epsilon(eps); + return ret; +} + +define quadgl(a, b, points) +{ + local k sp results epsbits nsect interval length segment slope C x1 y1 x2 + y2; + local sum D1 D2 D3 D4; + if (param(0) < 2) + return newerror("quadgl: not enough arguments"); + epsbits = highbit(1 + int (1 / epsilon())) +1; + if (isnull(points)) { + /* return as given */ + return quadglcore(a, b); + } else { + /* But if we could half the time needed to execute a single operation + * we could do all of it in just twice that time. */ + if (isinfinite(a) || isinfinite(b) + && (!ismat(points) && !islist(points))) + return + newerror(strcat + ("quadgl: multiple segments of infinite length ", + "are not yet supported")); + if (ismat(points) || islist(points)) { + sp = size(points); + if (sp == 0) + return + newerror(strcat + ("quadgl: variable 'points` must be a list or ", + "1d-matrix of a length > 0")); + /* check if all points are numbers */ + for (k = 0; k < sp; k++) { + if (!isnum(points[k])) + return + newerror(strcat + ("quadgl: elements of 'points` must be ", + "numbers only")); + } + /* We have n-1 intervals and a and b, hence n-1 + 2 results */ + results = mat[sp + 1]; + if (a != points[0]) { + results[0] = quadglcore(a, points[0]); + } else { + results[0] = 0; + } + if (sp == 1) { + if (b != points[0]) { + results[1] = quadglcore(points[0], b); + } else { + results[1] = 0; + } + } else { + for (k = 1; k < sp; k++) { + results[k] = quadglcore(points[k - 1], points[k]); + } + if (b != points[k - 1]) { + results[k] = quadglcore(points[k - 1], b); + } else { + results[k] = 0; + } + } + } else { + if (!isint(points) || points <= 0) + return newerror(strcat("quadgl: variable 'points` must be a ", + "list or a positive integer")); + /* Taking "points" as the number of equally spaced intervals */ + results = mat[points + 1]; + /* It is easy if a,b lie on the real line */ + if (isreal(a) && isreal(b)) { + length = abs(a - b); + segment = length / points; + + for (k = 1; k <= points; k++) { + results[k - 1] = + quadglcore(a + (k - 1) * segment, a + k * segment); + } + } else { + /* Other contours by way of a list of points */ + slope = (im(b) - im(a)) / (re(b) - re(a)); + C = (im(a) + slope) * re(a); + length = abs(re(a) - re(b)); + segment = length / points; + + /* y = mx+C where m is the slope, x is the real part and y the + * imaginary part */ + if(re(a)>re(b))swap(a,b); + for (k = re(a); k <= (re(b)); k+=segment) { + x1 = slope*(k) + C; + results[k] = quadglcore(k + x1 * 1i); + } + } /* else of isreal */ + } /* else of ismat|islist */ + } /* else of isnull(points) */ + /* With a bit of undeserved luck we have a result by now. */ + sp = size(results); + for (k = 0; k < sp; k++) { + sum += results[k]; + } + return sum; +} + +define quad(a, b, points = -1, method = "tanhsinh") +{ + if (isnull(a) || isnull(b) || param(0) < 2) + return newerror("quad: both limits must be given"); + if (isstr(a)) { + if (strncmp(a, "cinf", 1) == 0) + return + newerror(strcat + ("quad: complex infinity not yet supported, use", + " 'pinf' or 'ninf' respectively")); + } + if (isstr(b)) { + if (strncmp(b, "cinf", 1) == 0) + return + newerror(strcat + ("quad: complex infinity not yet supported, use", + " 'pinf' or 'ninf' respectively")); + } + + if (param(0) == 3) { + if (isstr(points)) + method = points; + } + + if (strncmp(method, "tanhsinh", 1) == 0) { + if (!isstr(points)) { + if (points == -1) { + return quadts(a, b); + } else { + return quadts(a, b, points); + } + } else { + return quadts(a, b); + } + } + + if (strncmp(method, "gausslegendre", 1) == 0) { + if (!isstr(points)) { + if (points == -1) { + return quadgl(a, b); + } else { + return quadgl(a, b, points); + } + } else { + return quadgl(a, b); + } + } +} + +define makerange(start, end, steps) +{ + local ret k l step C length slope x1 x2 y1 y2; + local segment; + steps = int (steps); + if (steps < 1) { + return newerror("makerange: number of steps must be > 0"); + } + if (!isnum(start) || !isnum(end)) { + return newerror("makerange: only numbers are supported yet"); + } + if (isreal(start) && isreal(end)) { + step = (end - start) / (steps); + print step; + ret = mat[steps + 1]; + for (k = 0; k <= steps; k++) { + ret[k] = k * step + start; + } + } else { + ret = mat[steps + 1]; + if (re(start) > re(end)) { + swap(start, end); + } + + slope = (im(end) - im(start)) / (re(end) - re(start)); + C = im(start) - slope * re(start); + length = abs(re(start) - re(end)); + segment = length / (steps); + + for (k = re(start), l = 0; k <= (re(end)); k += segment, l++) { + x1 = slope * (k) + C; + ret[l] = k + x1 * 1i; + } + + } + return ret; +} + +define makecircle(radius, center, points) +{ + local ret k a b twopi centerx centery; + if (!isint(points) || points < 2) { + return + newerror("makecircle: number of points is not a positive integer"); + } + if (!isnum(center)) { + return newerror("makecircle: center does not lie on the complex plane"); + } + if (!isreal(radius) || radius <= 0) { + return newerror("makecircle: radius is not a real > 0"); + } + ret = mat[points]; + twopi = 2 * pi(); + centerx = re(center); + centery = im(center); + for (k = 0; k < points; k++) { + a = centerx + radius * cos(twopi * k / points); + b = centery + radius * sin(twopi * k / points); + ret[k] = a + b * 1i; + } + return ret; +} + +define makeellipse(angle, a, b, center, points) +{ + local ret k x y twopi centerx centery; + if (!isint(points) || points < 2) { + return + newerror("makeellipse: number of points is not a positive integer"); + } + if (!isnum(center)) { + return + newerror("makeellipse: center does not lie on the complex plane"); + } + if (!isreal(a) || a <= 0) { + return newerror("makecircle: a is not a real > 0"); + } + if (!isreal(b) || b <= 0) { + return newerror("makecircle: b is not a real > 0"); + } + if (!isreal(angle)) { + return newerror("makecircle: angle is not a real"); + } + ret = mat[points]; + twopi = 2 * pi(); + centerx = re(center); + centery = im(center); + for (k = 0; k < points; k++) { + x = centerx + a * cos(twopi * k / points) * cos(angle) + - b * sin(twopi * k / points) * sin(angle); + y = centerx + a * cos(twopi * k / points) * sin(angle) + + b * sin(twopi * k / points) * cos(angle); + ret[k] = x + y * 1i; + } + return ret; +} + +define makepoints() +{ + local ret k; + ret = mat[param(0)]; + for (k = 0; k < param(0); k++) { + if (!isnum(param(k + 1))) { + return + newerror(strcat + ("makepoints: parameter number \"", str(k + 1), + "\" is not a number")); + } + ret[k] = param(k + 1); + } + return ret; +} + + +config("resource_debug", resource_debug_level),; +if (config("resource_debug") & 3) { + print "quadtsdeletenodes()"; + print "quadtscomputenodes(order, expo, eps)"; + print "quadtscore(a,b,n)"; + print "quadts(a,b,points)"; + print "quadglcomputenodes(N)"; + print "quadgldeletenodes()"; + print "quadglcore(a,b,n)"; + print "quadgl(a,b,points)"; + print "quad(a,b,points=-1,method=\"tanhsinh\")"; + print "makerange(start, end, steps)"; + print "makecircle(radius, center, points)"; + print "makeellipse(angle, a, b, center, points)"; + print "makepoints(a1,[...])"; +} diff --git a/cal/regress.cal b/cal/regress.cal index e74c81a..5a5431a 100644 --- a/cal/regress.cal +++ b/cal/regress.cal @@ -17,8 +17,8 @@ * received a copy with calc; if not, write to Free Software Foundation, Inc. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - * @(#) $Revision: 30.10 $ - * @(#) $Id: regress.cal,v 30.10 2013/09/01 22:08:44 chongo Exp $ + * @(#) $Revision: 30.12 $ + * @(#) $Id: regress.cal,v 30.12 2013/09/02 02:32:55 chongo Exp $ * @(#) $Source: /usr/local/src/bin/calc/cal/RCS/regress.cal,v $ * * Under source code control: 1990/02/15 01:50:36 @@ -768,6 +768,8 @@ print '016: parsed test_bignums()'; /* * Test many of the built-in functions. + * + * See test_functionss() starting at test 9000 for more built-in function tests. */ define test_functions() { @@ -1445,91 +1447,10 @@ define test_functions() vrfy(jacobi(-1,-1) == 0, '1236: jacobi(-1,-1) == 0'); vrfy(jacobi(0,-1) == 0, '1237: jacobi(0,-1) == 0'); - /* ctype function tests */ - vrfy(isalnum("A") == 1, '1238: isalnum("A") == 1'); - vrfy(isalnum("a") == 1, '1239: isalnum("a") == 1'); - vrfy(isalnum("2") == 1, '1239: isalnum("2") == 1'); - vrfy(isalnum("\t") == 0, '1240: isalnum("\t") == 0'); - - vrfy(isalpha("A") == 1, '1241: isalpha("A") == 1'); - vrfy(isalpha("a") == 1, '1242: isalpha("a") == 1'); - vrfy(isalpha("2") == 0, '1243: isalpha("2") == 0'); - vrfy(isalpha("\t") == 0, '1244: isalpha("\t") == 0'); - - vrfy(iscntrl("A") == 0, '1245: iscntrl("A") == 0'); - vrfy(iscntrl("a") == 0, '1246: iscntrl("a") == 0'); - vrfy(iscntrl("2") == 0, '1247: iscntrl("2") == 0'); - vrfy(iscntrl("\t") == 1, '1248: iscntrl("\t") == 1'); - - vrfy(isdigit("A") == 0, '1249: isdigit("A") == 0'); - vrfy(isdigit("a") == 0, '1250: isdigit("a") == 0'); - vrfy(isdigit("2") == 1, '1251: isdigit("2") == 1'); - vrfy(isdigit("\t") == 0, '1252: isdigit("\t") == 0'); - - vrfy(isgraph("A") == 1, '1253: isgraph("A") == 1'); - vrfy(isgraph("a") == 1, '1254: isgraph("a") == 1'); - vrfy(isgraph("2") == 1, '1255: isgraph("2") == 1'); - vrfy(isgraph("\t") == 0, '1255: isgraph("\t") == 0'); - - vrfy(islower("A") == 0, '1256: islower("A") == 0'); - vrfy(islower("a") == 1, '1257: islower("a") == 1'); - vrfy(islower("1") == 0, '1258: islower("1") == 0'); - - vrfy(isprint("A") == 1, '1259: isprint("A") == 1'); - vrfy(isprint("a") == 1, '1260: isprint("a") == 1'); - vrfy(isprint(" ") == 1, '1261: isprint(" ") == 1'); - vrfy(isprint("\t") == 0, '1262: isprint("\t") == 0'); - - vrfy(ispunct("A") == 0, '1263: ispunct("A") == 0'); - vrfy(ispunct("a") == 0, '1264: ispunct("a") == 0'); - vrfy(ispunct(" ") == 0, '1265: ispunct(" ") == 0'); - vrfy(ispunct("?") == 1, '1266: ispunct("?") == 1'); - - vrfy(isspace("A") == 0, '1267: isspace("A") == 0'); - vrfy(isspace("Krik") == 0, '1268: isspace("Krik") == 0'); - vrfy(isspace(" ") == 1, '1269: isspace(" ") == 1'); - vrfy(isspace("?") == 0, '1270: isspace("?") == 0'); - - vrfy(isupper("A") == 1, '1271: isupper("A") == 1'); - vrfy(isupper("a") == 0, '1272: isupper("a") == 0'); - vrfy(isupper("1") == 0, '1273: isupper("1") == 0'); - - vrfy(isxdigit("A") == 1, '1274: isxdigit("A") == 1'); - vrfy(isxdigit("f") == 1, '1275: isxdigit("f") == 1'); - vrfy(isxdigit("2") == 1, '1276: isxdigit("2") == 1'); - vrfy(isxdigit("x") == 0, '1277: isxdigit("x") == 0'); - - vrfy(strcasecmp("ab", "aBc") == -1, - '1278: strcasecmp("ab", "aBc") == -1'); - vrfy(strcasecmp("abc", "aBb") == 1, - '1279: strcasecmp("abc", "aBb") == 1'); - vrfy(strcasecmp("abc", "abc") == 0, - '1280: strcasecmp("abc", "abc") == 0'); - vrfy(strcasecmp("abc", "aBc") == 0, - '1281: strcasecmp("abc", "aBc") == 0'); - vrfy(strcasecmp("abc", "aBd") == -1, - '1282: strcasecmp("abc", "aBd") == -1'); - vrfy(strcasecmp("abc\0", "aBc") == 1, - '1283: strcasecmp("abc\0", "aBc") == 1'); - vrfy(strcasecmp("a\0b", "A\0c") == -1, - '1284: strcasecmp("a\0b", "A\0c") == -1'); - - vrfy(strncasecmp("abc", "xyz", 0) == 0, - '1285: strncasecmp("abc", "xyz", 0) == 0'); - vrfy(strncasecmp("abc", "xyz", 1) == -1, - '1286: strncasecmp("abc", "xyz", 1) == -1'); - vrfy(strncasecmp("abc", "", 1) == 1, - '1287: strncasecmp("abc", "", 1) == 1'); - vrfy(strncasecmp("a", "b", 2) == -1, - '1288: strncasecmp("a", "b", 2) == -1'); - vrfy(strncasecmp("ab", "Ac", 2) == -1, - '1289: strncasecmp("ab", "Ac", 2) == -1'); - vrfy(strncasecmp("\0ac", "\0b", 2) == -1, - '1290: strncasecmp("\0ac", "\0b", 2) == -1'); - vrfy(strncasecmp("ab", "aBc", 2) == 0, - '1291: strncasecmp("ab", "aBc", 2) == 0'); - vrfy(strncasecmp("abc", "abd", 2) == 0, - '1292: strncasecmp("abc", "abd", 2) == 0'); + /* + * NOTE: Function tests are continued in test_functionss() + * starting at test 9000. + */ print '1293: Ending test_functions'; } @@ -8015,9 +7936,128 @@ print '8901: read -once "test8900"'; read -once "test8900"; print '8902: about to run test8900(1,,8903)'; testnum = test8900(1,,8903); +print '8999: ecnt = 203;' +ecnt = 203; /* 89xx: test calc resource functions by Christoph Zurnieden */ +/* + * Test more of the built-in functions. + * + * See test_functions() (test 700 - 1238) for other built-in function tests. + */ +define test_functions2() +{ + print '9001: Beginning test_functions2'; + + /* ctype function tests */ + vrfy(isalnum("A") == 1, '9002: isalnum("A") == 1'); + vrfy(isalnum("a") == 1, '9003: isalnum("a") == 1'); + vrfy(isalnum("2") == 1, '9004: isalnum("2") == 1'); + vrfy(isalnum("\t") == 0, '9005: isalnum("\\t") == 0'); + + vrfy(isalpha("A") == 1, '9006: isalpha("A") == 1'); + vrfy(isalpha("a") == 1, '9007: isalpha("a") == 1'); + vrfy(isalpha("2") == 0, '9008: isalpha("2") == 0'); + vrfy(isalpha("\t") == 0, '9009: isalpha("\\t") == 0'); + + vrfy(iscntrl("A") == 0, '9010: iscntrl("A") == 0'); + vrfy(iscntrl("a") == 0, '9011: iscntrl("a") == 0'); + vrfy(iscntrl("2") == 0, '9012: iscntrl("2") == 0'); + vrfy(iscntrl("\t") == 1, '9013: iscntrl("\\t") == 1'); + + vrfy(isdigit("A") == 0, '9014: isdigit("A") == 0'); + vrfy(isdigit("a") == 0, '9015: isdigit("a") == 0'); + vrfy(isdigit("2") == 1, '9016: isdigit("2") == 1'); + vrfy(isdigit("\t") == 0, '9017: isdigit("\\t") == 0'); + + vrfy(isgraph("A") == 1, '9018: isgraph("A") == 1'); + vrfy(isgraph("a") == 1, '9019: isgraph("a") == 1'); + vrfy(isgraph("2") == 1, '9020: isgraph("2") == 1'); + vrfy(isgraph("\t") == 0, '9021: isgraph("\\t") == 0'); + + vrfy(islower("A") == 0, '9022: islower("A") == 0'); + vrfy(islower("a") == 1, '9023: islower("a") == 1'); + vrfy(islower("1") == 0, '9024: islower("1") == 0'); + + vrfy(isprint("A") == 1, '9025: isprint("A") == 1'); + vrfy(isprint("a") == 1, '9026: isprint("a") == 1'); + vrfy(isprint(" ") == 1, '9027: isprint(" ") == 1'); + vrfy(isprint("\t") == 0, '9028: isprint("\\t") == 0'); + + vrfy(ispunct("A") == 0, '9029: ispunct("A") == 0'); + vrfy(ispunct("a") == 0, '9030: ispunct("a") == 0'); + vrfy(ispunct(" ") == 0, '9031: ispunct(" ") == 0'); + vrfy(ispunct("?") == 1, '9032: ispunct("?") == 1'); + + vrfy(isspace("A") == 0, '9033: isspace("A") == 0'); + vrfy(isspace("Krik") == 0, '9034: isspace("Krik") == 0'); + vrfy(isspace(" ") == 1, '9035: isspace(" ") == 1'); + vrfy(isspace("?") == 0, '9036: isspace("?") == 0'); + + vrfy(isupper("A") == 1, '9037: isupper("A") == 1'); + vrfy(isupper("a") == 0, '9038: isupper("a") == 0'); + vrfy(isupper("1") == 0, '9039: isupper("1") == 0'); + + vrfy(isxdigit("A") == 1, '9040: isxdigit("A") == 1'); + vrfy(isxdigit("f") == 1, '9041: isxdigit("f") == 1'); + vrfy(isxdigit("2") == 1, '9042: isxdigit("2") == 1'); + vrfy(isxdigit("x") == 0, '9043: isxdigit("x") == 0'); + + vrfy(strcasecmp("ab", "aBc") == -1, + '9044: strcasecmp("ab", "aBc") == -1'); + vrfy(strcasecmp("abc", "aBb") == 1, + '9045: strcasecmp("abc", "aBb") == 1'); + vrfy(strcasecmp("abc", "abc") == 0, + '9046: strcasecmp("abc", "abc") == 0'); + vrfy(strcasecmp("abc", "aBc") == 0, + '9047: strcasecmp("abc", "aBc") == 0'); + vrfy(strcasecmp("abc", "aBd") == -1, + '9048: strcasecmp("abc", "aBd") == -1'); + vrfy(strcasecmp("abc\0", "aBc") == 1, + '9049: strcasecmp("a8c\\0", "aBc") == 1'); + vrfy(strcasecmp("a\0b", "A\0c") == -1, + '9050: strcasecmp("a\\0b", "A\\0c") == -1'); + + vrfy(strncasecmp("abc", "xyz", 0) == 0, + '9051: strncasecmp("abc", "xyz", 0) == 0'); + vrfy(strncasecmp("abc", "xyz", 1) == -1, + '9052: strncasecmp("abc", "xyz", 1) == -1'); + vrfy(strncasecmp("abc", "", 1) == 1, + '9053: strncasecmp("abc", "", 1) == 1'); + vrfy(strncasecmp("a", "b", 2) == -1, + '9054: strncasecmp("a", "b", 2) == -1'); + vrfy(strncasecmp("ab", "Ac", 2) == -1, + '9055: strncasecmp("ab", "Ac", 2) == -1'); + vrfy(strncasecmp("\0ac", "\0b", 2) == -1, + '9056: strncasecmp("\\0ac", "\\0b", 2) == -1'); + vrfy(strncasecmp("ab", "aBc", 2) == 0, + '9057: strncasecmp("ab", "aBc", 2) == 0'); + vrfy(strncasecmp("abc", "abd", 2) == 0, + '9058: strncasecmp("abc", "abd", 2) == 0'); + + local s1 = " gnu lesser general public license"; + print '9059: local s1 = " gnu lesser general public license";'; + + vrfy(strcmp(strtolower(" GNU Lesser General Public License"), s1) == 0, + '9060: strcmp(strtolower(" GNU Lesser General Public License"),' + + ' s1) == 0'); + + local s2 = " GNU LESSER GENERAL PUBLIC LICENSE"; + print '9061: local s2 = " GNU LESSER GENERAL PUBLIC LICENSE";'; + + vrfy(strcmp(strtoupper(" GNU Lesser General Public License"), s2) == 0, + '9062: strcmp(strtoupper(" GNU Lesser General Public License"),' + + ' s2) == 0'); + + print '9063: Ending test_functions2'; +} +print; +print '9000: parsed test_functions2()'; +print; +return test_functions2(); + + /* * read various calc resource files * diff --git a/cal/smallfactors.cal b/cal/smallfactors.cal new file mode 100644 index 0000000..a243ee2 --- /dev/null +++ b/cal/smallfactors.cal @@ -0,0 +1,71 @@ +/* + * smallfactors - find the factors of a number < 2^32 + * + * Copyright (C) 2013 Christoph Zurnieden + * + * Calc is open software; you can redistribute it and/or modify it under + * the terms of the version 2.1 of the GNU Lesser General Public License + * as published by the Free Software Foundation. + * + * Calc 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 Lesser General + * Public License for more details. + * + * A copy of version 2.1 of the GNU Lesser General Public License is + * distributed with calc under the filename COPYING-LGPL. You should have + * received a copy with calc; if not, write to Free Software Foundation, Inc. + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + + +static resource_debug_level; +resource_debug_level = config("resource_debug", 0); + + +define smallfactors(x0) +{ + local d q x flist tuple w; + + if (x >= (2 ^ 32) - 1) + return newerror("smallfactors: number must be < 2^32 -1"); + + tuple = mat[2]; + flist = list(); + x = x0; + d = 2; + q = 0; + tuple[0] = d; + if (x < 2) + return 0; + do { + q = x // d; + while (x == (q * d)) { + tuple[0] = d; + tuple[1]++; + x = floor(q); + q = x // d; + } + d = nextprime(d); + if (tuple[1] > 0) + append(flist, tuple); + tuple = mat[2]; + } while (d <= x); + return flist; +} + +define printsmallfactors(flist) +{ + local k; + for (k = 0; k < size(flist); k++) { + print flist[k][0]:"^":flist[k][1]; + } +} + + +config("resource_debug", resource_debug_level),; +if (config("resource_debug") & 3) { + print "smallfactors(x0)"; + print "printsmallfactors(flist)"; + +} diff --git a/cal/strings.cal b/cal/strings.cal new file mode 100644 index 0000000..84e402e --- /dev/null +++ b/cal/strings.cal @@ -0,0 +1,41 @@ +/* + * strings - implementation of some of the macros in ctype.h + * + * Copyright (C) 2013 Christoph Zurnieden + * + * Calc is open software; you can redistribute it and/or modify it under + * the terms of the version 2.1 of the GNU Lesser General Public License + * as published by the Free Software Foundation. + * + * Calc 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 Lesser General + * Public License for more details. + * + * A copy of version 2.1 of the GNU Lesser General Public License is + * distributed with calc under the filename COPYING-LGPL. You should have + * received a copy with calc; if not, write to Free Software Foundation, Inc. + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + + +static resource_debug_level; +resource_debug_level = config("resource_debug", 0); + +define isascii(c){ + c = ord(c); + return (c >= 0 && c< 128); +} + +define isblank(c){ + c = ord(c); + return ( c == 32 || c == 9 ); +} + + +config("resource_debug", resource_debug_level),; +if (config("resource_debug") & 3) { + print "isascii(c)"; + print "isblank(c)"; +} + diff --git a/calc.spec.in b/calc.spec.in index c354ce1..94e93f1 100644 --- a/calc.spec.in +++ b/calc.spec.in @@ -18,8 +18,8 @@ # received a copy with calc; if not, write to Free Software Foundation, Inc. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -# @(#) $Revision: 30.11 $ -# @(#) $Id: calc.spec.in,v 30.11 2013/08/11 08:41:38 chongo Exp $ +# @(#) $Revision: 30.12 $ +# @(#) $Id: calc.spec.in,v 30.12 2013/09/02 03:04:26 chongo Exp $ # @(#) $Source: /usr/local/src/bin/calc/RCS/calc.spec.in,v $ # # Under source code control: 2003/02/16 20:21:39 @@ -37,7 +37,7 @@ Summary: Arbitrary precision calculator. Name: calc Version: <<>> -Release: 10 +Release: 11 License: LGPL Group: Applications/Engineering Source: http://www.isthe.com/chongo/src/calc/%{name}-%{version}.tar.bz2 @@ -146,7 +146,7 @@ rm -rf %{_buildroot} %attr(644, root, root) %{_datadir}/%{name}/custom/*.cal %attr(644, root, root) %{_datadir}/%{name}/help/* %attr(644, root, root) %{_datadir}/%{name}/*.cal -%attr(644, root, root) %{_datadir}/%{name}/*.line +%attr(644, root, root) %{_datadir}/%{name}/set8700.line %attr(644, root, root) %{_libdir}/libcalc.so %attr(644, root, root) %{_libdir}/libcalc.so.* %attr(644, root, root) %{_libdir}/libcustcalc.so @@ -161,6 +161,9 @@ rm -rf %{_buildroot} %attr(644, root, root) %{_libdir}/libcustcalc.a %changelog +* Sun Sep 01 2013 Landon Curt Noll http://www.isthe.com/chongo +- Release: 11 +- only list %{_datadir}/%{name}/set8700.line not *.line * Sat May 05 2013 Landon Curt Noll http://www.isthe.com/chongo - Release: 10 - Major bug rpm build process bug fix diff --git a/calcerr.tbl b/calcerr.tbl index 9a9484f..3b13180 100644 --- a/calcerr.tbl +++ b/calcerr.tbl @@ -17,8 +17,8 @@ # received a copy with calc; if not, write to Free Software Foundation, Inc. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -# @(#) $Revision: 30.3 $ -# @(#) $Id: calcerr.tbl,v 30.3 2013/09/01 19:23:57 chongo Exp $ +# @(#) $Revision: 30.4 $ +# @(#) $Id: calcerr.tbl,v 30.4 2013/09/02 01:38:08 chongo Exp $ # @(#) $Source: /usr/local/src/bin/calc/RCS/calcerr.tbl,v $ # # Under source code control: 1996/05/23 17:38:44 @@ -473,3 +473,5 @@ E_ISPRINT Bad argument for isprint E_ISPUNCT Bad argument for ispunct E_ISSPACE Bad argument for isspace E_ISXDIGIT Bad argument for isxdigit +E_STRTOUPPER Bad argument type for strtoupper +E_STRTOLOWER Bad argument type for strtolower diff --git a/custom/Makefile b/custom/Makefile index cb0c219..3acdcbe 100644 --- a/custom/Makefile +++ b/custom/Makefile @@ -18,8 +18,8 @@ # received a copy with calc; if not, write to Free Software Foundation, Inc. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -# @(#) $Revision: 30.29 $ -# @(#) $Id: Makefile.head,v 30.29 2013/08/17 01:22:19 chongo Exp $ +# @(#) $Revision: 30.30 $ +# @(#) $Id: Makefile.head,v 30.30 2013/09/01 23:02:02 chongo Exp $ # @(#) $Source: /usr/local/src/bin/calc/custom/RCS/Makefile.head,v $ # # Under source code control: 1997/03/09 02:28:54 @@ -366,7 +366,7 @@ EXT= # The default calc versions # -VERSION= 2.12.4.11 +VERSION= 2.12.4.12 VERS= 2.12.4 VER= 2.12 VE= 2 diff --git a/custom/Makefile.head b/custom/Makefile.head index 59f48e3..7ca8915 100644 --- a/custom/Makefile.head +++ b/custom/Makefile.head @@ -18,8 +18,8 @@ # received a copy with calc; if not, write to Free Software Foundation, Inc. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -# @(#) $Revision: 30.29 $ -# @(#) $Id: Makefile.head,v 30.29 2013/08/17 01:22:19 chongo Exp $ +# @(#) $Revision: 30.30 $ +# @(#) $Id: Makefile.head,v 30.30 2013/09/01 23:02:02 chongo Exp $ # @(#) $Source: /usr/local/src/bin/calc/custom/RCS/Makefile.head,v $ # # Under source code control: 1997/03/09 02:28:54 @@ -366,7 +366,7 @@ EXT= # The default calc versions # -VERSION= 2.12.4.11 +VERSION= 2.12.4.12 VERS= 2.12.4 VER= 2.12 VE= 2 diff --git a/custom/Makefile.simple b/custom/Makefile.simple index cf6314a..83728d5 100644 --- a/custom/Makefile.simple +++ b/custom/Makefile.simple @@ -18,8 +18,8 @@ # received a copy with calc; if not, write to Free Software Foundation, Inc. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -# @(#) $Revision: 30.29 $ -# @(#) $Id: Makefile.head,v 30.29 2013/08/17 01:22:19 chongo Exp $ +# @(#) $Revision: 30.30 $ +# @(#) $Id: Makefile.head,v 30.30 2013/09/01 23:02:02 chongo Exp $ # @(#) $Source: /usr/local/src/bin/calc/custom/RCS/Makefile.head,v $ # # Under source code control: 1997/03/09 02:28:54 @@ -351,7 +351,7 @@ EXT= # The default calc versions # -VERSION= 2.12.4.11 +VERSION= 2.12.4.12 VERS= 2.12.4 VER= 2.12 VE= 2 diff --git a/func.c b/func.c index 34f0e01..9c4db12 100644 --- a/func.c +++ b/func.c @@ -19,8 +19,8 @@ * received a copy with calc; if not, write to Free Software Foundation, Inc. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - * @(#) $Revision: 30.8 $ - * @(#) $Id: func.c,v 30.8 2013/09/01 22:11:07 chongo Exp $ + * @(#) $Revision: 30.9 $ + * @(#) $Id: func.c,v 30.9 2013/09/02 01:38:08 chongo Exp $ * @(#) $Source: /usr/local/src/bin/calc/RCS/func.c,v $ * * Under source code control: 1990/02/15 01:48:15 @@ -4259,6 +4259,39 @@ f_strncasecmp(VALUE *v1, VALUE *v2, VALUE *v3) return result; } +S_FUNC VALUE +f_strtoupper(VALUE *vp) +{ + VALUE result; + + /* initialize VALUE */ + result.v_subtype = V_NOSUBTYPE; + + if (vp->v_type != V_STR) + return error_value(E_STRTOUPPER); + + result.v_str = stringtoupper(vp->v_str); + result.v_type = V_STR; + return result; +} + +S_FUNC VALUE +f_strtolower(VALUE *vp) +{ + VALUE result; + + /* initialize VALUE */ + result.v_subtype = V_NOSUBTYPE; + + if (vp->v_type != V_STR) + return error_value(E_STRTOLOWER); + + result.v_str = stringtolower(vp->v_str); + result.v_type = V_STR; + return result; +} + + S_FUNC VALUE f_strcat(int count, VALUE **vals) { @@ -8969,6 +9002,10 @@ STATIC CONST struct builtin builtins[] = { "assign value to stoponerror flag"}, {"str", 1, 1, 0, OP_NOP, 0, f_str, "simple value converted to string"}, + {"strtoupper", 1, 1, 0, OP_NOP, 0, f_strtoupper, + "Make string upper case"}, + {"strtolower", 1, 1, 0, OP_NOP, 0, f_strtolower, + "Make string lower case"}, {"strcat", 1,IN, 0, OP_NOP, 0, f_strcat, "concatenate strings together"}, {"strcmp", 2, 2, 0, OP_NOP, 0, f_strcmp, diff --git a/help/Makefile b/help/Makefile index edf9b29..6f67add 100644 --- a/help/Makefile +++ b/help/Makefile @@ -18,8 +18,8 @@ # received a copy with calc; if not, write to Free Software Foundation, Inc. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -# @(#) $Revision: 30.6 $ -# @(#) $Id: Makefile,v 30.6 2013/09/01 18:37:27 chongo Exp $ +# @(#) $Revision: 30.9 $ +# @(#) $Id: Makefile,v 30.9 2013/09/02 02:55:19 chongo Exp $ # @(#) $Source: /usr/local/src/bin/calc/help/RCS/Makefile,v $ # # Under source code control: 1991/07/23 06:47:57 @@ -272,43 +272,47 @@ BLT_HELP_FILES= ${BLT_HELP_FILES_3} ${BLT_HELP_FILES_5} \ ${BLT_HELP_FILES_11} ${BLT_HELP_FILES_13} \ ${BLT_HELP_FILES_14} +# The detailed list of help files to install +# # This list is prodiced by the detaillist rule when no WARNINGS are detected. # # Please use: # -# make detaillist +# make detail_help_list # # to keep this list in nice sorted order and to check that these # non-special help files are under RCS control. # -DETAIL_HELP= abs access acos acosh acot acoth acsc acsch address agd append \ - appr arg argv arrow asec asech asin asinh assign atan atan2 atanh \ - avg base base2 bernoulli bit blk blkcpy blkfree blocks bround btrunc \ - calc_tty calclevel calcpath catalan ceil cfappr cfsim char cmdbuf \ - cmp comb conj cos cosh cot coth count cp csc csch ctime delete den \ - dereference det digit digits display dp epsilon errcount errmax \ - errno error estr euler eval exp fact factor fclose fcnt feof ferror \ - fflush fgetc fgetfield fgetfile fgetline fgets fgetstr fib files \ - floor fopen forall fpathopen fprintf fputc fputs fputstr frac free \ - freebernoulli freeeuler freeglobals freeredc freestatics frem freopen \ - fscan fscanf fseek fsize ftell gcd gcdrem gd getenv hash head highbit \ - hmean hnrmod hypot ilog ilog10 ilog2 im indices inputlevel insert \ - int inverse iroot isassoc isatty isblk isconfig isdefined iserror \ - iseven isfile ishash isident isint islist ismat ismult isnull isnum \ - isobj isobjtype isodd isprime isptr isqrt isrand israndom isreal \ - isrel issimple issq isstr istype jacobi join lcm lcmfact lfactor \ - ln log lowbit ltol makelist matdim matfill matmax matmin matsum \ - mattrace mattrans max memsize meq min minv mmin mne mod modify \ - name near newerror nextcand nextprime norm null num oldvalue ord \ - param perm pfact pi pix places pmod polar poly pop popcnt pound \ - power prevcand prevprime printf prompt protect ptest push putenv \ - quo quomod rand randbit random randombit randperm rcin rcmul rcout \ - rcpow rcsq re remove reverse rewind rm root round rsearch runtime \ - saveval scale scan scanf search sec sech seed segment select sgn sha1 \ - sin sinh size sizeof sleep sort sqrt srand srandom ssq stoponerror \ - str strcat strcmp strcpy strerror strlen strncmp strncpy strpos \ - strprintf strscan strscanf substr sum swap system systime tail tan \ - tanh test time trunc usertime version xor +DETAIL_HELP= abs access acos acosh acot acoth acsc acsch address \ + agd append appr arg argv arrow asec asech asin asinh assign atan \ + atan2 atanh avg base base2 bernoulli bit blk blkcpy blkfree blocks \ + bround btrunc calc_tty calclevel calcpath catalan ceil cfappr cfsim \ + char cmdbuf cmp comb conj cos cosh cot coth count cp csc csch ctime \ + delete den dereference det digit digits display dp epsilon errcount \ + errmax errno error estr euler eval exp fact factor fclose fcnt \ + feof ferror fflush fgetc fgetfield fgetfile fgetline fgets fgetstr \ + fib files floor fopen forall fpathopen fprintf fputc fputs fputstr \ + frac free freebernoulli freeeuler freeglobals freeredc freestatics \ + frem freopen fscan fscanf fseek fsize ftell gcd gcdrem gd getenv \ + hash head highbit hmean hnrmod hypot ilog ilog10 ilog2 im indices \ + inputlevel insert int inverse iroot isalnum isalpha isassoc isatty \ + isblk iscntrl isconfig isdefined isdigit iserror iseven isfile \ + isgraph ishash isident isint islist islower ismat ismult isnull \ + isnum isobj isobjtype isodd isprime isprint isptr ispunct isqrt \ + isrand israndom isreal isrel issimple isspace issq isstr istype \ + isupper isxdigit jacobi join lcm lcmfact lfactor ln log lowbit ltol \ + makelist matdim matfill matmax matmin matsum mattrace mattrans max \ + memsize meq min minv mmin mne mod modify name near newerror nextcand \ + nextprime norm null num oldvalue ord param perm pfact pi pix places \ + pmod polar poly pop popcnt pound power prevcand prevprime printf \ + prompt protect ptest push putenv quo quomod rand randbit random \ + randombit randperm rcin rcmul rcout rcpow rcsq re remove reverse \ + rewind rm root round rsearch runtime saveval scale scan scanf \ + search sec sech seed segment select sgn sha1 sin sinh size sizeof \ + sleep sort sqrt srand srandom ssq stoponerror str strcasecmp strcat \ + strcmp strcpy strerror strlen strncasecmp strncmp strncpy strpos \ + strprintf strscan strscanf strtolower strtoupper substr sum swap \ + system systime tail tan tanh test time trunc usertime version xor # This list is of files that are clones of DETAIL_HELP files. They are # built from DETAIL_HELP files. @@ -633,11 +637,26 @@ bsdi: all ${RM} -f obj ${CP} obj.file obj -# These next rule help me form the ${DETAIL_HELP} makefile variables above. +# These next rule help form the ${DETAIL_HELP} makefile variables above. # -detaillist: - ${Q} -(echo "xxxxx"; \ - for i in ${DETAIL_HELP} /dev/null; do \ +# NOTE: The ${DETAIL_HELP} list does not include special help files. +# +detail_help_list: + ${Q} -(find . -mindepth 1 -maxdepth 1 -type f \ + ! -name Makefile ! -name '.Makefile.swp' \ + ! -name archive ! -name assoc ! -name builtin.end \ + ! -name builtin.top ! -name command ! -name config \ + ! -name contrib ! -name credit ! -name custom ! -name define \ + ! -name environment ! -name errorcodes.hdr \ + ! -name errorcodes.sed ! -name expression ! -name file \ + ! -name funclist.c ! -name funclist.sed ! -name help \ + ! -name history ! -name interrupt ! -name intro ! -name list \ + ! -name mat ! -name obj.file ! -name operator \ + ! -name overview ! -name script ! -name statement \ + ! -name todo ! -name types ! -name unexpected \ + ! -name variable ! -name wishlist \ + -print | \ + while read i; do \ if [ X"$$i" != X"/dev/null" ]; then \ if [ ! -f RCS/$$i,v ]; then \ echo "WARNING: $$i not under RCS control" 1>&2; \ @@ -645,8 +664,10 @@ detaillist: echo $$i; \ fi; \ fi; \ - done | LANG=C ${SORT}) | ${FMT} -70 | \ - ${SED} -e '1s/xxxxx/DETAIL_HELP=/' -e '2,$$s/^/ /' \ + done; \ + echo '--first_line--') | \ + ${SED} -e 's:^\./::' | LANG=C ${SORT} | ${FMT} -70 | \ + ${SED} -e '1s/--first_line--/DETAIL_HELP=/' -e '2,$$s/^/ /' \ -e 's/$$/ \\/' -e '$$s/ \\$$//' ## diff --git a/help/abs b/help/abs index ee802fc..1c7bf0c 100644 --- a/help/abs +++ b/help/abs @@ -62,7 +62,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: abs,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/abs,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/abs,v $ ## ## Under source code control: 1994/03/19 01:40:22 ## File existed as early as: 1994 diff --git a/help/access b/help/access index 43945cf..15f76ee 100644 --- a/help/access +++ b/help/access @@ -66,7 +66,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: access,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/access,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/access,v $ ## ## Under source code control: 1996/04/30 03:36:20 ## File existed as early as: 1996 diff --git a/help/acos b/help/acos index c768a2b..6e3acd7 100644 --- a/help/acos +++ b/help/acos @@ -47,7 +47,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: acos,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/acos,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/acos,v $ ## ## Under source code control: 1994/03/19 01:40:23 ## File existed as early as: 1994 diff --git a/help/acosh b/help/acosh index 422d3d3..e8e99d8 100644 --- a/help/acosh +++ b/help/acosh @@ -50,7 +50,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: acosh,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/acosh,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/acosh,v $ ## ## Under source code control: 1994/03/19 01:40:24 ## File existed as early as: 1994 diff --git a/help/acot b/help/acot index fa994d3..5077794 100644 --- a/help/acot +++ b/help/acot @@ -47,7 +47,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: acot,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/acot,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/acot,v $ ## ## Under source code control: 1995/11/13 03:49:00 ## File existed as early as: 1995 diff --git a/help/acoth b/help/acoth index d4dd783..a0a2936 100644 --- a/help/acoth +++ b/help/acoth @@ -49,7 +49,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: acoth,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/acoth,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/acoth,v $ ## ## Under source code control: 1995/11/13 03:49:01 ## File existed as early as: 1995 diff --git a/help/acsc b/help/acsc index f3572be..99d9b79 100644 --- a/help/acsc +++ b/help/acsc @@ -47,7 +47,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: acsc,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/acsc,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/acsc,v $ ## ## Under source code control: 1995/11/13 03:49:00 ## File existed as early as: 1995 diff --git a/help/acsch b/help/acsch index 0731ed6..81dc820 100644 --- a/help/acsch +++ b/help/acsch @@ -50,7 +50,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: acsch,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/acsch,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/acsch,v $ ## ## Under source code control: 1995/11/13 03:49:01 ## File existed as early as: 1995 diff --git a/help/address b/help/address index 1a1c40b..82b7529 100644 --- a/help/address +++ b/help/address @@ -178,7 +178,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: address,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/address,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/address,v $ ## ## Under source code control: 1997/09/06 20:03:34 ## File existed as early as: 1997 diff --git a/help/agd b/help/agd index ee16a52..ea7d8be 100644 --- a/help/agd +++ b/help/agd @@ -74,7 +74,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: agd,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/agd,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/agd,v $ ## ## Under source code control: 1997/09/06 20:03:34 ## File existed as early as: 1997 diff --git a/help/append b/help/append index 9c3e4a6..01b0a33 100644 --- a/help/append +++ b/help/append @@ -78,7 +78,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: append,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/append,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/append,v $ ## ## Under source code control: 1994/03/19 03:13:17 ## File existed as early as: 1994 diff --git a/help/appr b/help/appr index 0e98c51..894a905 100644 --- a/help/appr +++ b/help/appr @@ -169,7 +169,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: appr,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/appr,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/appr,v $ ## ## Under source code control: 1994/09/25 17:18:21 ## File existed as early as: 1994 diff --git a/help/archive b/help/archive index dc6751a..c5995ff 100644 --- a/help/archive +++ b/help/archive @@ -33,7 +33,7 @@ chongo /\../\ ## ## @(#) $Revision: 30.2 $ ## @(#) $Id: archive,v 30.2 2013/08/11 01:08:32 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/archive,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/archive,v $ ## ## Under source code control: 1996/06/13 02:51:48 ## File existed as early as: 1996 diff --git a/help/arg b/help/arg index 60c4255..2da3f81 100644 --- a/help/arg +++ b/help/arg @@ -50,7 +50,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: arg,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/arg,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/arg,v $ ## ## Under source code control: 1994/09/25 20:22:31 ## File existed as early as: 1994 diff --git a/help/argv b/help/argv index d42bdbc..d7b7e12 100644 --- a/help/argv +++ b/help/argv @@ -71,7 +71,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: argv,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/argv,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/argv,v $ ## ## Under source code control: 1999/11/23 19:45:05 ## File existed as early as: 1999 diff --git a/help/arrow b/help/arrow index 2895a1b..a9d70cf 100644 --- a/help/arrow +++ b/help/arrow @@ -68,7 +68,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: arrow,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/arrow,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/arrow,v $ ## ## Under source code control: 1997/09/06 20:03:34 ## File existed as early as: 1997 diff --git a/help/asec b/help/asec index 8beebae..5f46f1a 100644 --- a/help/asec +++ b/help/asec @@ -47,7 +47,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: asec,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/asec,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/asec,v $ ## ## Under source code control: 1995/11/13 03:49:00 ## File existed as early as: 1995 diff --git a/help/asech b/help/asech index cff78ce..b567e0f 100644 --- a/help/asech +++ b/help/asech @@ -49,7 +49,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: asech,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/asech,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/asech,v $ ## ## Under source code control: 1995/11/13 03:49:00 ## File existed as early as: 1995 diff --git a/help/asin b/help/asin index c50e3be..1bb5c6e 100644 --- a/help/asin +++ b/help/asin @@ -47,7 +47,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: asin,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/asin,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/asin,v $ ## ## Under source code control: 1994/03/19 01:40:24 ## File existed as early as: 1994 diff --git a/help/asinh b/help/asinh index 0f346bd..9843bed 100644 --- a/help/asinh +++ b/help/asinh @@ -49,7 +49,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: asinh,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/asinh,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/asinh,v $ ## ## Under source code control: 1994/03/19 01:40:25 ## File existed as early as: 1994 diff --git a/help/assign b/help/assign index d3b3afc..8ccdf97 100644 --- a/help/assign +++ b/help/assign @@ -135,7 +135,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: assign,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/assign,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/assign,v $ ## ## Under source code control: 1995/05/11 21:03:23 ## File existed as early as: 1995 diff --git a/help/assoc b/help/assoc index e09d0ea..0d72f82 100644 --- a/help/assoc +++ b/help/assoc @@ -100,7 +100,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: assoc,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/assoc,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/assoc,v $ ## ## Under source code control: 1994/09/25 20:22:31 ## File existed as early as: 1994 diff --git a/help/atan b/help/atan index b10e63e..a554a1e 100644 --- a/help/atan +++ b/help/atan @@ -47,7 +47,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: atan,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/atan,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/atan,v $ ## ## Under source code control: 1994/03/19 01:40:25 ## File existed as early as: 1994 diff --git a/help/atan2 b/help/atan2 index 0e7e6f9..84e21e9 100644 --- a/help/atan2 +++ b/help/atan2 @@ -54,7 +54,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: atan2,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/atan2,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/atan2,v $ ## ## Under source code control: 1994/03/19 01:40:26 ## File existed as early as: 1994 diff --git a/help/atanh b/help/atanh index ed40f1b..23a556f 100644 --- a/help/atanh +++ b/help/atanh @@ -49,7 +49,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: atanh,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/atanh,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/atanh,v $ ## ## Under source code control: 1994/03/19 01:40:27 ## File existed as early as: 1994 diff --git a/help/avg b/help/avg index f97f7ba..9bdf8fc 100644 --- a/help/avg +++ b/help/avg @@ -67,7 +67,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: avg,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/avg,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/avg,v $ ## ## Under source code control: 1994/09/25 20:22:31 ## File existed as early as: 1994 diff --git a/help/base b/help/base index f580a49..7cb3b4c 100644 --- a/help/base +++ b/help/base @@ -99,7 +99,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: base,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/base,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/base,v $ ## ## Under source code control: 1994/09/30 00:09:39 ## File existed as early as: 1994 diff --git a/help/base2 b/help/base2 index 51de034..a0a2e00 100644 --- a/help/base2 +++ b/help/base2 @@ -111,7 +111,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: base2,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/base2,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/base2,v $ ## ## Under source code control: 2002/12/29 00:21:07 ## File existed as early as: 2002 diff --git a/help/bernoulli b/help/bernoulli index 0580e0e..779b872 100644 --- a/help/bernoulli +++ b/help/bernoulli @@ -59,7 +59,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: bernoulli,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/bernoulli,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/bernoulli,v $ ## ## Under source code control: 2000/07/13 01:33:00 ## File existed as early as: 2000 diff --git a/help/bit b/help/bit index 8cd1889..95e36e3 100644 --- a/help/bit +++ b/help/bit @@ -60,7 +60,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: bit,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/bit,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/bit,v $ ## ## Under source code control: 1994/10/21 02:21:30 ## File existed as early as: 1994 diff --git a/help/blk b/help/blk index 24316d1..580d853 100644 --- a/help/blk +++ b/help/blk @@ -251,7 +251,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: blk,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/blk,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/blk,v $ ## ## Under source code control: 1997/04/05 13:07:13 ## File existed as early as: 1997 diff --git a/help/blkcpy b/help/blkcpy index d1e4bf1..e4c9569 100644 --- a/help/blkcpy +++ b/help/blkcpy @@ -208,7 +208,7 @@ SEE ALSO ## ## @(#) $Revision: 30.2 $ ## @(#) $Id: blkcpy,v 30.2 2013/08/11 01:08:32 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/blkcpy,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/blkcpy,v $ ## ## Under source code control: 1997/04/05 14:08:50 ## File existed as early as: 1997 diff --git a/help/blkfree b/help/blkfree index a50948a..f271d41 100644 --- a/help/blkfree +++ b/help/blkfree @@ -75,7 +75,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: blkfree,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/blkfree,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/blkfree,v $ ## ## Under source code control: 1997/04/05 13:07:13 ## File existed as early as: 1997 diff --git a/help/blocks b/help/blocks index 35c9088..309ad3e 100644 --- a/help/blocks +++ b/help/blocks @@ -60,7 +60,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: blocks,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/blocks,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/blocks,v $ ## ## Under source code control: 1997/04/05 13:07:13 ## File existed as early as: 1997 diff --git a/help/bround b/help/bround index d83ed36..d985f49 100644 --- a/help/bround +++ b/help/bround @@ -140,7 +140,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: bround,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/bround,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/bround,v $ ## ## Under source code control: 1994/09/30 00:22:35 ## File existed as early as: 1994 diff --git a/help/btrunc b/help/btrunc index 8de28c2..82ebe10 100644 --- a/help/btrunc +++ b/help/btrunc @@ -61,7 +61,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: btrunc,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/btrunc,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/btrunc,v $ ## ## Under source code control: 1994/09/30 00:44:27 ## File existed as early as: 1994 diff --git a/help/builtin.end b/help/builtin.end index d68768c..5607ca9 100644 --- a/help/builtin.end +++ b/help/builtin.end @@ -217,7 +217,7 @@ ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: builtin.end,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/builtin.end,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/builtin.end,v $ ## ## Under source code control: 1995/07/10 01:17:53 ## File existed as early as: 1995 diff --git a/help/builtin.top b/help/builtin.top index 806542d..531e0eb 100644 --- a/help/builtin.top +++ b/help/builtin.top @@ -25,7 +25,7 @@ Builtin functions ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: builtin.top,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/builtin.top,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/builtin.top,v $ ## ## Under source code control: 1995/07/10 01:17:53 ## File existed as early as: 1995 diff --git a/help/calc_tty b/help/calc_tty index 49bd5c1..8f83e22 100644 --- a/help/calc_tty +++ b/help/calc_tty @@ -44,7 +44,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: calc_tty,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/calc_tty,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/calc_tty,v $ ## ## Under source code control: 2000/12/14 01:33:00 ## File existed as early as: 2000 diff --git a/help/calclevel b/help/calclevel index 45f8176..034a38a 100644 --- a/help/calclevel +++ b/help/calclevel @@ -52,7 +52,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: calclevel,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/calclevel,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/calclevel,v $ ## ## Under source code control: 1999/10/31 06:01:21 ## File existed as early as: 1999 diff --git a/help/calcpath b/help/calcpath index 0eff9b2..a6df5fb 100644 --- a/help/calcpath +++ b/help/calcpath @@ -47,7 +47,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: calcpath,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/calcpath,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/calcpath,v $ ## ## Under source code control: 2006/05/07 23:56:04 ## File existed as early as: 2006 diff --git a/help/catalan b/help/catalan index e8087dd..213da73 100644 --- a/help/catalan +++ b/help/catalan @@ -55,7 +55,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: catalan,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/catalan,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/catalan,v $ ## ## Under source code control: 2000/12/14 01:33:00 ## File existed as early as: 2000 diff --git a/help/ceil b/help/ceil index 719083e..948346a 100644 --- a/help/ceil +++ b/help/ceil @@ -50,7 +50,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: ceil,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/ceil,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/ceil,v $ ## ## Under source code control: 1994/09/30 01:12:01 ## File existed as early as: 1994 diff --git a/help/cfappr b/help/cfappr index e04489e..1ed4ad3 100644 --- a/help/cfappr +++ b/help/cfappr @@ -106,7 +106,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: cfappr,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/cfappr,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/cfappr,v $ ## ## Under source code control: 1994/09/30 01:23:59 ## File existed as early as: 1994 diff --git a/help/cfsim b/help/cfsim index bd5dc39..327475d 100644 --- a/help/cfsim +++ b/help/cfsim @@ -131,7 +131,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: cfsim,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/cfsim,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/cfsim,v $ ## ## Under source code control: 1994/09/30 01:29:45 ## File existed as early as: 1994 diff --git a/help/char b/help/char index c0a85a1..19702dc 100644 --- a/help/char +++ b/help/char @@ -44,7 +44,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: char,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/char,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/char,v $ ## ## Under source code control: 1994/09/30 01:45:45 ## File existed as early as: 1994 diff --git a/help/cmdbuf b/help/cmdbuf index e266b35..eafe144 100644 --- a/help/cmdbuf +++ b/help/cmdbuf @@ -46,7 +46,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: cmdbuf,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/cmdbuf,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/cmdbuf,v $ ## ## Under source code control: 1995/07/09 04:05:58 ## File existed as early as: 1995 diff --git a/help/cmp b/help/cmp index bc4b053..e65e258 100644 --- a/help/cmp +++ b/help/cmp @@ -132,7 +132,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: cmp,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/cmp,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/cmp,v $ ## ## Under source code control: 1994/10/20 02:52:30 ## File existed as early as: 1994 diff --git a/help/comb b/help/comb index c371e35..be8a0ae 100644 --- a/help/comb +++ b/help/comb @@ -56,7 +56,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: comb,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/comb,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/comb,v $ ## ## Under source code control: 1994/10/20 04:03:02 ## File existed as early as: 1994 diff --git a/help/command b/help/command index 435e7e9..66688a9 100644 --- a/help/command +++ b/help/command @@ -368,7 +368,7 @@ Command sequence ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: command,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/command,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/command,v $ ## ## Under source code control: 1991/07/21 04:37:17 ## File existed as early as: 1991 diff --git a/help/config b/help/config index d8ca8cf..1e2cacf 100644 --- a/help/config +++ b/help/config @@ -976,7 +976,7 @@ SEE ALSO ## ## @(#) $Revision: 30.3 $ ## @(#) $Id: config,v 30.3 2007/09/21 01:27:27 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/config,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/config,v $ ## ## Under source code control: 1991/07/21 04:37:17 ## File existed as early as: 1991 diff --git a/help/conj b/help/conj index 28f5a52..1ec156b 100644 --- a/help/conj +++ b/help/conj @@ -58,7 +58,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: conj,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/conj,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/conj,v $ ## ## Under source code control: 1995/10/03 10:40:01 ## File existed as early as: 1995 diff --git a/help/contrib b/help/contrib index c4d5df5..e1ebfce 100644 --- a/help/contrib +++ b/help/contrib @@ -101,7 +101,7 @@ chongo (share and enjoy) /\../\ ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: contrib,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/contrib,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/contrib,v $ ## ## Under source code control: 1997/03/09 16:33:22 ## File existed as early as: 1997 diff --git a/help/cos b/help/cos index e21e0ce..b681a82 100644 --- a/help/cos +++ b/help/cos @@ -53,7 +53,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: cos,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/cos,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/cos,v $ ## ## Under source code control: 1994/03/19 01:40:27 ## File existed as early as: 1994 diff --git a/help/cosh b/help/cosh index 7612fcd..04cc787 100644 --- a/help/cosh +++ b/help/cosh @@ -47,7 +47,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: cosh,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/cosh,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/cosh,v $ ## ## Under source code control: 1994/03/19 01:40:28 ## File existed as early as: 1994 diff --git a/help/cot b/help/cot index babcec9..722e410 100644 --- a/help/cot +++ b/help/cot @@ -45,7 +45,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: cot,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/cot,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/cot,v $ ## ## Under source code control: 1995/11/13 03:49:00 ## File existed as early as: 1995 diff --git a/help/coth b/help/coth index fa73d5a..3c10648 100644 --- a/help/coth +++ b/help/coth @@ -47,7 +47,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: coth,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/coth,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/coth,v $ ## ## Under source code control: 1995/11/13 03:49:00 ## File existed as early as: 1995 diff --git a/help/count b/help/count index bb70fe1..3e02f04 100644 --- a/help/count +++ b/help/count @@ -48,7 +48,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: count,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/count,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/count,v $ ## ## Under source code control: 1995/07/10 02:09:31 ## File existed as early as: 1995 diff --git a/help/cp b/help/cp index 890fc2e..6e9d77d 100644 --- a/help/cp +++ b/help/cp @@ -54,7 +54,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: cp,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/cp,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/cp,v $ ## ## Under source code control: 1995/10/05 04:52:26 ## File existed as early as: 1995 diff --git a/help/credit b/help/credit index 61be0e5..57cb8a8 100644 --- a/help/credit +++ b/help/credit @@ -83,7 +83,7 @@ See also: ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: credit,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/credit,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/credit,v $ ## ## Under source code control: 1991/07/23 05:47:24 ## File existed as early as: 1991 diff --git a/help/csc b/help/csc index 8e9f5f8..99ba856 100644 --- a/help/csc +++ b/help/csc @@ -45,7 +45,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: csc,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/csc,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/csc,v $ ## ## Under source code control: 1995/11/13 03:49:00 ## File existed as early as: 1995 diff --git a/help/csch b/help/csch index b957824..aa02a7b 100644 --- a/help/csch +++ b/help/csch @@ -47,7 +47,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: csch,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/csch,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/csch,v $ ## ## Under source code control: 1995/11/13 03:49:00 ## File existed as early as: 1995 diff --git a/help/ctime b/help/ctime index c5c3f6a..675d1e5 100644 --- a/help/ctime +++ b/help/ctime @@ -46,7 +46,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: ctime,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/ctime,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/ctime,v $ ## ## Under source code control: 1996/04/30 03:05:18 ## File existed as early as: 1996 diff --git a/help/custom b/help/custom index 918ca6b..39b0bd6 100644 --- a/help/custom +++ b/help/custom @@ -112,7 +112,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: custom,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/custom,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/custom,v $ ## ## Under source code control: 1997/03/09 16:33:22 ## File existed as early as: 1997 diff --git a/help/define b/help/define index 2052d79..b68efce 100644 --- a/help/define +++ b/help/define @@ -209,7 +209,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: define,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/define,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/define,v $ ## ## ## Under source code control: 1991/07/21 04:37:18 diff --git a/help/delete b/help/delete index 0243160..fc0216a 100644 --- a/help/delete +++ b/help/delete @@ -60,7 +60,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: delete,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/delete,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/delete,v $ ## ## Under source code control: 1994/03/19 03:13:18 ## File existed as early as: 1994 diff --git a/help/den b/help/den index 847eea2..55b44f2 100644 --- a/help/den +++ b/help/den @@ -56,7 +56,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: den,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/den,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/den,v $ ## ## Under source code control: 1995/10/05 04:52:26 ## File existed as early as: 1995 diff --git a/help/dereference b/help/dereference index f7f615f..180ead7 100644 --- a/help/dereference +++ b/help/dereference @@ -100,7 +100,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: dereference,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/dereference,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/dereference,v $ ## ## Under source code control: 1997/09/06 20:03:34 ## File existed as early as: 1997 diff --git a/help/det b/help/det index 614b43c..11685ad 100644 --- a/help/det +++ b/help/det @@ -91,7 +91,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: det,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/det,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/det,v $ ## ## Under source code control: 1995/11/28 11:17:47 ## File existed as early as: 1995 diff --git a/help/digit b/help/digit index c6a4b98..6ee1bb9 100644 --- a/help/digit +++ b/help/digit @@ -110,7 +110,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: digit,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/digit,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/digit,v $ ## ## Under source code control: 1995/10/03 10:40:01 ## File existed as early as: 1995 diff --git a/help/digits b/help/digits index ca6b0ae..f357492 100644 --- a/help/digits +++ b/help/digits @@ -68,7 +68,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: digits,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/digits,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/digits,v $ ## ## Under source code control: 1995/10/03 10:40:01 ## File existed as early as: 1995 diff --git a/help/display b/help/display index d9167f3..1cce472 100644 --- a/help/display +++ b/help/display @@ -72,7 +72,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: display,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/display,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/display,v $ ## ## Under source code control: 2004/07/25 23:50:40 ## File existed as early as: 2004 diff --git a/help/dp b/help/dp index 6418745..a957b78 100644 --- a/help/dp +++ b/help/dp @@ -54,7 +54,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: dp,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/dp,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/dp,v $ ## ## Under source code control: 1995/10/05 04:52:26 ## File existed as early as: 1995 diff --git a/help/environment b/help/environment index be5cf16..1d73208 100644 --- a/help/environment +++ b/help/environment @@ -106,7 +106,7 @@ Environment variables ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: environment,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/environment,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/environment,v $ ## ## Under source code control: 1991/07/23 05:47:25 ## File existed as early as: 1991 diff --git a/help/epsilon b/help/epsilon index 8f12028..9afaf2b 100644 --- a/help/epsilon +++ b/help/epsilon @@ -51,7 +51,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: epsilon,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/epsilon,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/epsilon,v $ ## ## Under source code control: 1995/10/05 04:52:26 ## File existed as early as: 1995 diff --git a/help/errcount b/help/errcount index 2698bb2..59db348 100644 --- a/help/errcount +++ b/help/errcount @@ -64,7 +64,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: errcount,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/errcount,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/errcount,v $ ## ## Under source code control: 1997/03/08 08:51:14 ## File existed as early as: 1997 diff --git a/help/errmax b/help/errmax index f711264..b07b53f 100644 --- a/help/errmax +++ b/help/errmax @@ -63,7 +63,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: errmax,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/errmax,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/errmax,v $ ## ## Under source code control: 1997/03/08 08:51:14 ## File existed as early as: 1997 diff --git a/help/errno b/help/errno index 387ba21..a1bbe69 100644 --- a/help/errno +++ b/help/errno @@ -73,7 +73,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: errno,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/errno,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/errno,v $ ## ## Under source code control: 1994/10/27 03:05:08 ## File existed as early as: 1994 diff --git a/help/error b/help/error index 6f45729..43917b6 100644 --- a/help/error +++ b/help/error @@ -55,7 +55,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: error,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/error,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/error,v $ ## ## Under source code control: 1995/12/18 03:30:59 ## File existed as early as: 1995 diff --git a/help/errorcodes.hdr b/help/errorcodes.hdr index 36ebdfa..1d8640d 100644 --- a/help/errorcodes.hdr +++ b/help/errorcodes.hdr @@ -18,7 +18,7 @@ Calc generated error codes (see the error help file): ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: errorcodes.hdr,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/errorcodes.hdr,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/errorcodes.hdr,v $ ## ## Under source code control: 1995/12/18 03:19:11 ## File existed as early as: 1995 diff --git a/help/estr b/help/estr index 192604c..cf05d16 100644 --- a/help/estr +++ b/help/estr @@ -60,7 +60,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: estr,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/estr,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/estr,v $ ## ## Under source code control: 2006/08/20 14:45:13 ## File existed as early as: 2006 diff --git a/help/euler b/help/euler index 52b0324..34547f0 100644 --- a/help/euler +++ b/help/euler @@ -55,7 +55,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: euler,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/euler,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/euler,v $ ## ## Under source code control: 2000/12/14 01:33:00 ## File existed as early as: 2000 diff --git a/help/eval b/help/eval index cc72d0c..a72629c 100644 --- a/help/eval +++ b/help/eval @@ -78,7 +78,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: eval,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/eval,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/eval,v $ ## ## Under source code control: 1995/12/18 03:30:59 ## File existed as early as: 1995 diff --git a/help/exp b/help/exp index 36fa8ed..a85b5ec 100644 --- a/help/exp +++ b/help/exp @@ -58,7 +58,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: exp,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/exp,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/exp,v $ ## ## Under source code control: 1995/10/11 04:41:26 ## File existed as early as: 1995 diff --git a/help/expression b/help/expression index 7040e8d..1800bab 100644 --- a/help/expression +++ b/help/expression @@ -52,7 +52,7 @@ Expression sequences ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: expression,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/expression,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/expression,v $ ## ## Under source code control: 1991/07/21 04:37:18 ## File existed as early as: 1991 diff --git a/help/fact b/help/fact index 1508323..8f41485 100644 --- a/help/fact +++ b/help/fact @@ -50,7 +50,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: fact,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fact,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/fact,v $ ## ## Under source code control: 1994/10/20 04:03:02 ## File existed as early as: 1994 diff --git a/help/fclose b/help/fclose index 64b41fb..7ed9813 100644 --- a/help/fclose +++ b/help/fclose @@ -69,7 +69,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: fclose,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fclose,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/fclose,v $ ## ## Under source code control: 1994/10/27 03:04:16 ## File existed as early as: 1994 diff --git a/help/fcnt b/help/fcnt index 555fef3..4979655 100644 --- a/help/fcnt +++ b/help/fcnt @@ -48,7 +48,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: fcnt,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fcnt,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/fcnt,v $ ## ## Under source code control: 1995/12/18 12:03:02 ## File existed as early as: 1995 diff --git a/help/feof b/help/feof index 2a34769..a173284 100644 --- a/help/feof +++ b/help/feof @@ -61,7 +61,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: feof,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/feof,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/feof,v $ ## ## Under source code control: 1994/10/27 03:04:17 ## File existed as early as: 1994 diff --git a/help/ferror b/help/ferror index bdd0117..3dfb5b8 100644 --- a/help/ferror +++ b/help/ferror @@ -50,7 +50,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: ferror,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/ferror,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/ferror,v $ ## ## Under source code control: 1994/10/27 03:04:17 ## File existed as early as: 1994 diff --git a/help/fflush b/help/fflush index d545b8e..8162451 100644 --- a/help/fflush +++ b/help/fflush @@ -45,7 +45,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: fflush,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fflush,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/fflush,v $ ## ## Under source code control: 1994/10/27 03:04:17 ## File existed as early as: 1994 diff --git a/help/fgetfield b/help/fgetfield index 1e1b8ab..2595bce 100644 --- a/help/fgetfield +++ b/help/fgetfield @@ -68,7 +68,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: fgetfield,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fgetfield,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/fgetfield,v $ ## ## Under source code control: 1996/04/30 03:05:17 ## File existed as early as: 1996 diff --git a/help/fgetfile b/help/fgetfile index ae0e606..e03f719 100644 --- a/help/fgetfile +++ b/help/fgetfile @@ -63,7 +63,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: fgetfile,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fgetfile,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/fgetfile,v $ ## ## Under source code control: 1996/04/30 03:05:17 ## File existed as early as: 1996 diff --git a/help/fgetline b/help/fgetline index 8b38369..7a90c2d 100644 --- a/help/fgetline +++ b/help/fgetline @@ -68,7 +68,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: fgetline,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fgetline,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/fgetline,v $ ## ## Under source code control: 1995/03/04 11:33:19 ## File existed as early as: 1995 diff --git a/help/fgets b/help/fgets index 8c73477..c0d9eda 100644 --- a/help/fgets +++ b/help/fgets @@ -57,7 +57,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: fgets,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fgets,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/fgets,v $ ## ## Under source code control: 1995/03/04 11:33:19 ## File existed as early as: 1995 diff --git a/help/fgetstr b/help/fgetstr index a13368d..761e371 100644 --- a/help/fgetstr +++ b/help/fgetstr @@ -64,7 +64,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: fgetstr,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fgetstr,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/fgetstr,v $ ## ## Under source code control: 1996/04/30 03:05:17 ## File existed as early as: 1996 diff --git a/help/fib b/help/fib index cd818a5..947549c 100644 --- a/help/fib +++ b/help/fib @@ -45,7 +45,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: fib,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fib,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/fib,v $ ## ## Under source code control: 1995/10/25 04:03:45 ## File existed as early as: 1995 diff --git a/help/file b/help/file index bf2cf7e..41bfab2 100644 --- a/help/file +++ b/help/file @@ -184,7 +184,7 @@ Using files ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: file,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/file,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/file,v $ ## ## Under source code control: 1991/07/21 04:37:19 ## File existed as early as: 1991 diff --git a/help/files b/help/files index 8478fa5..63ac2ee 100644 --- a/help/files +++ b/help/files @@ -86,7 +86,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: files,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/files,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/files,v $ ## ## Under source code control: 1995/03/04 11:33:19 ## File existed as early as: 1995 diff --git a/help/floor b/help/floor index bd3071d..49ab4a3 100644 --- a/help/floor +++ b/help/floor @@ -50,7 +50,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: floor,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/floor,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/floor,v $ ## ## Under source code control: 1994/09/30 01:12:01 ## File existed as early as: 1994 diff --git a/help/fopen b/help/fopen index 25e5793..91a6bba 100644 --- a/help/fopen +++ b/help/fopen @@ -125,7 +125,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: fopen,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fopen,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/fopen,v $ ## ## Under source code control: 1994/10/27 03:04:17 ## File existed as early as: 1994 diff --git a/help/forall b/help/forall index d4c107e..f06e825 100644 --- a/help/forall +++ b/help/forall @@ -55,7 +55,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: forall,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/forall,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/forall,v $ ## ## Under source code control: 1995/07/10 02:09:31 ## File existed as early as: 1995 diff --git a/help/fprintf b/help/fprintf index d587f5f..aed7b15 100644 --- a/help/fprintf +++ b/help/fprintf @@ -72,7 +72,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: fprintf,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fprintf,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/fprintf,v $ ## ## Under source code control: 1996/03/12 22:50:41 ## File existed as early as: 1996 diff --git a/help/fputc b/help/fputc index edd54c4..d8dab9e 100644 --- a/help/fputc +++ b/help/fputc @@ -49,7 +49,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: fputc,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fputc,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/fputc,v $ ## ## Under source code control: 1995/03/04 11:33:20 ## File existed as early as: 1995 diff --git a/help/fputs b/help/fputs index 088a3ed..5abb772 100644 --- a/help/fputs +++ b/help/fputs @@ -49,7 +49,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: fputs,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fputs,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/fputs,v $ ## ## Under source code control: 1995/03/04 11:33:20 ## File existed as early as: 1995 diff --git a/help/fputstr b/help/fputstr index dcf06c7..f20ade2 100644 --- a/help/fputstr +++ b/help/fputstr @@ -57,7 +57,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: fputstr,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fputstr,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/fputstr,v $ ## ## Under source code control: 1996/04/30 03:05:18 ## File existed as early as: 1996 diff --git a/help/frac b/help/frac index 60ea663..4050ece 100644 --- a/help/frac +++ b/help/frac @@ -59,7 +59,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: frac,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/frac,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/frac,v $ ## ## Under source code control: 1995/12/18 03:30:59 ## File existed as early as: 1995 diff --git a/help/free b/help/free index f51e221..ad23004 100644 --- a/help/free +++ b/help/free @@ -53,7 +53,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: free,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/free,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/free,v $ ## ## Under source code control: 1997/09/06 20:03:35 ## File existed as early as: 1997 diff --git a/help/freebernoulli b/help/freebernoulli index dc4dc8b..e27821e 100644 --- a/help/freebernoulli +++ b/help/freebernoulli @@ -41,7 +41,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: freebernoulli,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/freebernoulli,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/freebernoulli,v $ ## ## Under source code control: 2000/07/13 ## File existed as early as: 2000 diff --git a/help/freeeuler b/help/freeeuler index 95e094b..08553ba 100644 --- a/help/freeeuler +++ b/help/freeeuler @@ -41,7 +41,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: freeeuler,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/freeeuler,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/freeeuler,v $ ## ## Under source code control: 2000/12/14 01:33:00 ## File existed as early as: 2000 diff --git a/help/freeglobals b/help/freeglobals index e0f76f4..445d774 100644 --- a/help/freeglobals +++ b/help/freeglobals @@ -64,7 +64,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: freeglobals,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/freeglobals,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/freeglobals,v $ ## ## Under source code control: 1997/09/06 20:03:35 ## File existed as early as: 1997 diff --git a/help/freeredc b/help/freeredc index 526a40e..7cc4ef3 100644 --- a/help/freeredc +++ b/help/freeredc @@ -47,7 +47,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: freeredc,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/freeredc,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/freeredc,v $ ## ## Under source code control: 1997/09/06 20:03:35 ## File existed as early as: 1997 diff --git a/help/freestatics b/help/freestatics index 099dfc7..f766dac 100644 --- a/help/freestatics +++ b/help/freestatics @@ -62,7 +62,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: freestatics,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/freestatics,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/freestatics,v $ ## ## Under source code control: 1997/09/06 20:03:35 ## File existed as early as: 1997 diff --git a/help/frem b/help/frem index e853ba6..7f5f607 100644 --- a/help/frem +++ b/help/frem @@ -54,7 +54,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: frem,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/frem,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/frem,v $ ## ## Under source code control: 1995/12/18 12:03:02 ## File existed as early as: 1995 diff --git a/help/freopen b/help/freopen index 396e8b4..71d85ef 100644 --- a/help/freopen +++ b/help/freopen @@ -59,7 +59,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: freopen,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/freopen,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/freopen,v $ ## ## Under source code control: 1996/04/30 03:05:18 ## File existed as early as: 1996 diff --git a/help/fscan b/help/fscan index 303fe09..0fb6464 100644 --- a/help/fscan +++ b/help/fscan @@ -56,7 +56,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: fscan,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fscan,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/fscan,v $ ## ## Under source code control: 1996/04/30 03:05:18 ## File existed as early as: 1996 diff --git a/help/fscanf b/help/fscanf index 42c1545..293cb44 100644 --- a/help/fscanf +++ b/help/fscanf @@ -147,7 +147,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: fscanf,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fscanf,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/fscanf,v $ ## ## Under source code control: 1996/04/30 03:05:18 ## File existed as early as: 1996 diff --git a/help/fseek b/help/fseek index f85910b..051597f 100644 --- a/help/fseek +++ b/help/fseek @@ -84,7 +84,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: fseek,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fseek,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/fseek,v $ ## ## Under source code control: 1995/03/04 11:33:20 ## File existed as early as: 1995 diff --git a/help/fsize b/help/fsize index ba76bf6..82e0351 100644 --- a/help/fsize +++ b/help/fsize @@ -47,7 +47,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: fsize,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fsize,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/fsize,v $ ## ## Under source code control: 1995/03/04 11:33:20 ## File existed as early as: 1995 diff --git a/help/ftell b/help/ftell index 281e1fa..35c9deb 100644 --- a/help/ftell +++ b/help/ftell @@ -64,7 +64,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: ftell,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/ftell,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/ftell,v $ ## ## Under source code control: 1995/03/04 11:33:21 ## File existed as early as: 1995 diff --git a/help/funclist.sed b/help/funclist.sed index b8f6a67..603c498 100644 --- a/help/funclist.sed +++ b/help/funclist.sed @@ -24,7 +24,7 @@ p ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: funclist.sed,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/funclist.sed,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/funclist.sed,v $ ## ## Under source code control: 1995/07/10 01:33:06 ## File existed as early as: 1995 diff --git a/help/gcd b/help/gcd index bfa5c69..18215ee 100644 --- a/help/gcd +++ b/help/gcd @@ -45,7 +45,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: gcd,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/gcd,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/gcd,v $ ## ## Under source code control: 1995/10/05 04:52:26 ## File existed as early as: 1995 diff --git a/help/gcdrem b/help/gcdrem index 0284125..8b74962 100644 --- a/help/gcdrem +++ b/help/gcdrem @@ -71,7 +71,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: gcdrem,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/gcdrem,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/gcdrem,v $ ## ## Under source code control: 1995/12/18 12:03:02 ## File existed as early as: 1995 diff --git a/help/gd b/help/gd index d3cd38a..1a16e24 100644 --- a/help/gd +++ b/help/gd @@ -68,7 +68,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: gd,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/gd,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/gd,v $ ## ## Under source code control: 1997/09/06 20:03:35 ## File existed as early as: 1997 diff --git a/help/getenv b/help/getenv index 05da87d..449fd6d 100644 --- a/help/getenv +++ b/help/getenv @@ -52,7 +52,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: getenv,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/getenv,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/getenv,v $ ## ## Under source code control: 1995/07/09 03:48:57 ## File existed as early as: 1995 diff --git a/help/hash b/help/hash index c314b92..70debb4 100644 --- a/help/hash +++ b/help/hash @@ -55,7 +55,7 @@ SEE ALSO ## ## @(#) $Revision: 30.2 $ ## @(#) $Id: hash,v 30.2 2007/07/05 17:37:41 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/hash,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/hash,v $ ## ## Under source code control: 1996/03/12 23:10:01 ## File existed as early as: 1996 diff --git a/help/head b/help/head index 55af37e..222e7f1 100644 --- a/help/head +++ b/help/head @@ -66,7 +66,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: head,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/head,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/head,v $ ## ## Under source code control: 1995/07/10 02:09:30 ## File existed as early as: 1995 diff --git a/help/help b/help/help index ec4f174..f4f2eff 100644 --- a/help/help +++ b/help/help @@ -133,7 +133,7 @@ as the same effect as: ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: help,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/help,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/help,v $ ## ## Under source code control: 1991/07/21 04:37:20 ## File existed as early as: 1991 diff --git a/help/highbit b/help/highbit index 05c88b0..fe79113 100644 --- a/help/highbit +++ b/help/highbit @@ -46,7 +46,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: highbit,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/highbit,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/highbit,v $ ## ## Under source code control: 1995/10/03 10:40:02 ## File existed as early as: 1995 diff --git a/help/history b/help/history index 25a3298..d05613b 100644 --- a/help/history +++ b/help/history @@ -78,7 +78,7 @@ Command history ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: history,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/history,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/history,v $ ## ## Under source code control: 1991/07/21 04:37:20 ## File existed as early as: 1991 diff --git a/help/hmean b/help/hmean index 39966bf..90d05e9 100644 --- a/help/hmean +++ b/help/hmean @@ -55,7 +55,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: hmean,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/hmean,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/hmean,v $ ## ## Under source code control: 1995/12/18 03:30:59 ## File existed as early as: 1995 diff --git a/help/hnrmod b/help/hnrmod index 7a96883..f63556a 100644 --- a/help/hnrmod +++ b/help/hnrmod @@ -60,7 +60,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: hnrmod,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/hnrmod,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/hnrmod,v $ ## ## Under source code control: 1997/07/02 07:10:43 ## File existed as early as: 1997 diff --git a/help/hypot b/help/hypot index 0e5f89c..96ac8bd 100644 --- a/help/hypot +++ b/help/hypot @@ -45,7 +45,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: hypot,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/hypot,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/hypot,v $ ## ## Under source code control: 1995/10/05 04:52:26 ## File existed as early as: 1995 diff --git a/help/ilog b/help/ilog index e5794d1..4bb138e 100644 --- a/help/ilog +++ b/help/ilog @@ -45,7 +45,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: ilog,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/ilog,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/ilog,v $ ## ## Under source code control: 1995/10/25 04:03:45 ## File existed as early as: 1995 diff --git a/help/ilog10 b/help/ilog10 index 4892173..d4b34d2 100644 --- a/help/ilog10 +++ b/help/ilog10 @@ -43,7 +43,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: ilog10,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/ilog10,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/ilog10,v $ ## ## Under source code control: 1995/10/03 10:40:02 ## File existed as early as: 1995 diff --git a/help/ilog2 b/help/ilog2 index 541e58a..4492a22 100644 --- a/help/ilog2 +++ b/help/ilog2 @@ -43,7 +43,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: ilog2,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/ilog2,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/ilog2,v $ ## ## Under source code control: 1995/10/03 10:40:02 ## File existed as early as: 1995 diff --git a/help/im b/help/im index 43298b7..192037e 100644 --- a/help/im +++ b/help/im @@ -43,7 +43,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: im,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/im,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/im,v $ ## ## Under source code control: 1995/10/05 04:52:26 ## File existed as early as: 1995 diff --git a/help/indices b/help/indices index 3ec8250..1d298b7 100644 --- a/help/indices +++ b/help/indices @@ -75,7 +75,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: indices,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/indices,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/indices,v $ ## ## Under source code control: 1999/11/16 08:02:03 ## File existed as early as: 1999 diff --git a/help/inputlevel b/help/inputlevel index aa05fca..8c3cc42 100644 --- a/help/inputlevel +++ b/help/inputlevel @@ -53,7 +53,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: inputlevel,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/inputlevel,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/inputlevel,v $ ## ## Under source code control: 1999/10/31 06:01:21 ## File existed as early as: 1999 diff --git a/help/insert b/help/insert index 9fbe284..5b89762 100644 --- a/help/insert +++ b/help/insert @@ -77,7 +77,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: insert,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/insert,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/insert,v $ ## ## Under source code control: 1994/03/19 03:13:18 ## File existed as early as: 1994 diff --git a/help/int b/help/int index 6ce60b2..75a04a2 100644 --- a/help/int +++ b/help/int @@ -58,7 +58,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: int,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/int,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/int,v $ ## ## Under source code control: 1994/09/30 00:57:18 ## File existed as early as: 1994 diff --git a/help/interrupt b/help/interrupt index 93e19ac..959cfab 100644 --- a/help/interrupt +++ b/help/interrupt @@ -119,7 +119,7 @@ ABORT opcodes ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: interrupt,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/interrupt,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/interrupt,v $ ## ## Under source code control: 1991/07/21 04:37:21 ## File existed as early as: 1991 diff --git a/help/intro b/help/intro index 79be4a5..d4d8797 100644 --- a/help/intro +++ b/help/intro @@ -187,7 +187,7 @@ What is calc? ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: intro,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/intro,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/intro,v $ ## ## Under source code control: 1991/07/21 04:37:21 ## File existed as early as: 1991 diff --git a/help/inverse b/help/inverse index 5548d4d..187d71a 100644 --- a/help/inverse +++ b/help/inverse @@ -65,7 +65,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: inverse,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/inverse,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/inverse,v $ ## ## Under source code control: 1996/03/12 23:10:01 ## File existed as early as: 1996 diff --git a/help/iroot b/help/iroot index 59539ba..ed3b88f 100644 --- a/help/iroot +++ b/help/iroot @@ -44,7 +44,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: iroot,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/iroot,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/iroot,v $ ## ## Under source code control: 1995/10/25 04:03:45 ## File existed as early as: 1995 diff --git a/help/isalnum b/help/isalnum new file mode 100644 index 0000000..d9bfd01 --- /dev/null +++ b/help/isalnum @@ -0,0 +1,54 @@ +NAME + isalnum - whether character is alpha-numeric + +SYNOPSIS + isalnum(c) + +TYPES + c string + + return int + +DESCRIPTION + Determine if c is alpha-numeric. This function will return 1 if c is + alpha-numeric, 0 otherwise. + +EXAMPLE + ; print isalnum("A"), isalnum("a"), isalnum("2"), isalnum("\t") + 1 1 1 0 + +LIMITS + none + +LINK LIBRARY + none + +SEE ALSO + islower, isupper, isalpha, iscntrl, isdigit, isgraph, isprint, + ispunct, isspace, isxdigit + +## Copyright (C) 2013 Christoph Zurnieden +## +## Calc is open software; you can redistribute it and/or modify it under +## the terms of the version 2.1 of the GNU Lesser General Public License +## as published by the Free Software Foundation. +## +## Calc 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 Lesser General +## Public License for more details. +## +## A copy of version 2.1 of the GNU Lesser General Public License is +## distributed with calc under the filename COPYING-LGPL. You should have +## received a copy with calc; if not, write to Free Software Foundation, Inc. +## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +## +## @(#) $Revision: 30.3 $ +## @(#) $Id: isalnum,v 30.3 2013/09/01 20:00:20 chongo Exp $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isalnum,v $ +## +## Under source code control: 2013/09/01 18:10:53 +## File existed as early as: 2013 +## +## chongo /\oo/\ http://www.isthe.com/chongo/ +## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/ diff --git a/help/isalpha b/help/isalpha new file mode 100644 index 0000000..ecb0702 --- /dev/null +++ b/help/isalpha @@ -0,0 +1,54 @@ +NAME + isalpha - whether character is alphabetic + +SYNOPSIS + isalpha(c) + +TYPES + c string + + return int + +DESCRIPTION + Determine if c is alphabetic. This function will return 1 if c is + alphabetic, 0 otherwise. + +EXAMPLE + ; print isalpha("A"), isalpha("a"), isalpha("1"), isalpha("\t") + 1 1 0 0 + +LIMITS + none + +LINK LIBRARY + none + +SEE ALSO + islower, isupper, isalnum, iscntrl, isdigit, isgraph, isprint, + ispunct, isspace, isxdigit + +## Copyright (C) 2013 Christoph Zurnieden +## +## Calc is open software; you can redistribute it and/or modify it under +## the terms of the version 2.1 of the GNU Lesser General Public License +## as published by the Free Software Foundation. +## +## Calc 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 Lesser General +## Public License for more details. +## +## A copy of version 2.1 of the GNU Lesser General Public License is +## distributed with calc under the filename COPYING-LGPL. You should have +## received a copy with calc; if not, write to Free Software Foundation, Inc. +## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +## +## @(#) $Revision: 30.3 $ +## @(#) $Id: isalpha,v 30.3 2013/09/01 20:00:20 chongo Exp $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isalpha,v $ +## +## Under source code control: 2013/09/01 18:10:53 +## File existed as early as: 2013 +## +## chongo /\oo/\ http://www.isthe.com/chongo/ +## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/ diff --git a/help/isassoc b/help/isassoc index 25aa9f6..81847e6 100644 --- a/help/isassoc +++ b/help/isassoc @@ -49,7 +49,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: isassoc,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/isassoc,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isassoc,v $ ## ## Under source code control: 1994/10/21 02:21:27 ## File existed as early as: 1994 diff --git a/help/isatty b/help/isatty index 8705782..f60e0fa 100644 --- a/help/isatty +++ b/help/isatty @@ -52,7 +52,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: isatty,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/isatty,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isatty,v $ ## ## Under source code control: 1995/07/09 03:49:34 ## File existed as early as: 1995 diff --git a/help/isblk b/help/isblk index a966f73..6d7307c 100644 --- a/help/isblk +++ b/help/isblk @@ -61,7 +61,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: isblk,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/isblk,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isblk,v $ ## ## Under source code control: 1997/04/06 03:03:23 ## File existed as early as: 1997 diff --git a/help/iscntrl b/help/iscntrl new file mode 100644 index 0000000..2e67b05 --- /dev/null +++ b/help/iscntrl @@ -0,0 +1,54 @@ +NAME + iscntrl - whether character is a control character + +SYNOPSIS + iscntrl(c) + +TYPES + c string + + return int + +DESCRIPTION + Determine if c is a control character. This function will return 1 if c is + alphabetic, 0 otherwise. + +EXAMPLE + ; print iscntrl("A"), iscntrl("a"), iscntrl("1"), iscntrl("\t") + 0 0 0 1 + +LIMITS + none + +LINK LIBRARY + none + +SEE ALSO + islower, isupper, isalnum, isalpha, isdigit, isgraph, isprint, + ispunct, isspace, isxdigit + +## Copyright (C) 2013 Christoph Zurnieden +## +## Calc is open software; you can redistribute it and/or modify it under +## the terms of the version 2.1 of the GNU Lesser General Public License +## as published by the Free Software Foundation. +## +## Calc 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 Lesser General +## Public License for more details. +## +## A copy of version 2.1 of the GNU Lesser General Public License is +## distributed with calc under the filename COPYING-LGPL. You should have +## received a copy with calc; if not, write to Free Software Foundation, Inc. +## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +## +## @(#) $Revision: 30.3 $ +## @(#) $Id: iscntrl,v 30.3 2013/09/01 20:00:20 chongo Exp $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/iscntrl,v $ +## +## Under source code control: 2013/09/01 18:10:53 +## File existed as early as: 2013 +## +## chongo /\oo/\ http://www.isthe.com/chongo/ +## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/ diff --git a/help/isconfig b/help/isconfig index 2753dba..4a793b1 100644 --- a/help/isconfig +++ b/help/isconfig @@ -49,7 +49,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: isconfig,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/isconfig,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isconfig,v $ ## ## Under source code control: 1995/11/11 05:09:41 ## File existed as early as: 1995 diff --git a/help/isdefined b/help/isdefined index b59d590..82d2e13 100644 --- a/help/isdefined +++ b/help/isdefined @@ -61,7 +61,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: isdefined,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/isdefined,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isdefined,v $ ## ## Under source code control: 1997/04/05 14:10:17 ## File existed as early as: 1997 diff --git a/help/isdigit b/help/isdigit new file mode 100644 index 0000000..1216be3 --- /dev/null +++ b/help/isdigit @@ -0,0 +1,54 @@ +NAME + isdigit - whether character is a digit character + +SYNOPSIS + isdigit(c) + +TYPES + c string + + return int + +DESCRIPTION + Determine if c is a digit character. This function will return 1 if c is + a digit character, 0 otherwise. + +EXAMPLE + ; print isdigit("A"), isdigit("a"), isdigit("1"), isdigit("\t") + 0 0 1 0 + +LIMITS + none + +LINK LIBRARY + none + +SEE ALSO + islower, isupper, isalnum, isalpha, iscntrl, isgraph, isprint, + ispunct, isspace, isxdigit + +## Copyright (C) 2013 Christoph Zurnieden +## +## Calc is open software; you can redistribute it and/or modify it under +## the terms of the version 2.1 of the GNU Lesser General Public License +## as published by the Free Software Foundation. +## +## Calc 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 Lesser General +## Public License for more details. +## +## A copy of version 2.1 of the GNU Lesser General Public License is +## distributed with calc under the filename COPYING-LGPL. You should have +## received a copy with calc; if not, write to Free Software Foundation, Inc. +## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +## +## @(#) $Revision: 30.3 $ +## @(#) $Id: isdigit,v 30.3 2013/09/01 20:00:20 chongo Exp $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isdigit,v $ +## +## Under source code control: 2013/09/01 18:10:53 +## File existed as early as: 2013 +## +## chongo /\oo/\ http://www.isthe.com/chongo/ +## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/ diff --git a/help/iserror b/help/iserror index 1905d10..851d0e9 100644 --- a/help/iserror +++ b/help/iserror @@ -49,7 +49,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: iserror,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/iserror,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/iserror,v $ ## ## Under source code control: 1995/12/18 03:30:59 ## File existed as early as: 1995 diff --git a/help/iseven b/help/iseven index b14d7a5..2e54112 100644 --- a/help/iseven +++ b/help/iseven @@ -50,7 +50,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: iseven,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/iseven,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/iseven,v $ ## ## Under source code control: 1994/10/21 02:21:27 ## File existed as early as: 1994 diff --git a/help/isfile b/help/isfile index 33c7f37..6ed410a 100644 --- a/help/isfile +++ b/help/isfile @@ -48,7 +48,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: isfile,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/isfile,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isfile,v $ ## ## Under source code control: 1994/10/21 02:21:27 ## File existed as early as: 1994 diff --git a/help/isgraph b/help/isgraph new file mode 100644 index 0000000..ab2a2ff --- /dev/null +++ b/help/isgraph @@ -0,0 +1,54 @@ +NAME + isgraph - whether character is a graphical character + +SYNOPSIS + isgraph(c) + +TYPES + c string + + return int + +DESCRIPTION + Determine if c is a graphical character. This function will return 1 if c + is graphical, 0 otherwise. + +EXAMPLE + ; print isgraph("A"), isgraph("a"), isgraph("1"), isgraph(" ") + 1 1 1 0 + +LIMITS + none + +LINK LIBRARY + none + +SEE ALSO + islower, isupper, isalnum, isalpha, iscntrl, isdigit, isprint, + ispunct, isspace, isxdigit + +## Copyright (C) 2013 Christoph Zurnieden +## +## Calc is open software; you can redistribute it and/or modify it under +## the terms of the version 2.1 of the GNU Lesser General Public License +## as published by the Free Software Foundation. +## +## Calc 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 Lesser General +## Public License for more details. +## +## A copy of version 2.1 of the GNU Lesser General Public License is +## distributed with calc under the filename COPYING-LGPL. You should have +## received a copy with calc; if not, write to Free Software Foundation, Inc. +## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +## +## @(#) $Revision: 30.3 $ +## @(#) $Id: isgraph,v 30.3 2013/09/01 20:00:20 chongo Exp $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isgraph,v $ +## +## Under source code control: 2013/09/01 18:10:53 +## File existed as early as: 2013 +## +## chongo /\oo/\ http://www.isthe.com/chongo/ +## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/ diff --git a/help/ishash b/help/ishash index 43755be..3dd2bc7 100644 --- a/help/ishash +++ b/help/ishash @@ -50,7 +50,7 @@ SEE ALSO ## ## @(#) $Revision: 30.2 $ ## @(#) $Id: ishash,v 30.2 2007/07/05 17:37:41 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/ishash,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/ishash,v $ ## ## Under source code control: 1995/11/11 05:09:41 ## File existed as early as: 1995 diff --git a/help/isident b/help/isident index ebdf6f7..dd2bbcf 100644 --- a/help/isident +++ b/help/isident @@ -49,7 +49,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: isident,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/isident,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isident,v $ ## ## Under source code control: 1995/07/09 18:25:36 ## File existed as early as: 1995 diff --git a/help/isint b/help/isint index 0a188a3..9fa2184 100644 --- a/help/isint +++ b/help/isint @@ -51,7 +51,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: isint,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/isint,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isint,v $ ## ## Under source code control: 1994/10/21 02:21:27 ## File existed as early as: 1994 diff --git a/help/islist b/help/islist index 833083a..e140998 100644 --- a/help/islist +++ b/help/islist @@ -51,7 +51,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: islist,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/islist,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/islist,v $ ## ## Under source code control: 1994/03/19 03:13:19 ## File existed as early as: 1994 diff --git a/help/islower b/help/islower new file mode 100644 index 0000000..fde8940 --- /dev/null +++ b/help/islower @@ -0,0 +1,54 @@ +NAME + islower - whether character is lower case + +SYNOPSIS + islower(c) + +TYPES + c string + + return int + +DESCRIPTION + Determine if c is lower case. This function will return 1 if c is + lower case, 0 otherwise. + +EXAMPLE + ; print islower("A"), islower("a"), islower("1") + 0 1 0 + +LIMITS + none + +LINK LIBRARY + none + +SEE ALSO + isupper, isalnum, isalpha, iscntrl, isdigit, isgraph, isprint, + ispunct, isspace, isxdigit + +## Copyright (C) 2013 Christoph Zurnieden +## +## Calc is open software; you can redistribute it and/or modify it under +## the terms of the version 2.1 of the GNU Lesser General Public License +## as published by the Free Software Foundation. +## +## Calc 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 Lesser General +## Public License for more details. +## +## A copy of version 2.1 of the GNU Lesser General Public License is +## distributed with calc under the filename COPYING-LGPL. You should have +## received a copy with calc; if not, write to Free Software Foundation, Inc. +## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +## +## @(#) $Revision: 30.3 $ +## @(#) $Id: islower,v 30.3 2013/09/01 20:00:20 chongo Exp $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/islower,v $ +## +## Under source code control: 2013/09/01 18:10:53 +## File existed as early as: 2013 +## +## chongo /\oo/\ http://www.isthe.com/chongo/ +## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/ diff --git a/help/ismat b/help/ismat index 2e893b2..d8aac31 100644 --- a/help/ismat +++ b/help/ismat @@ -49,7 +49,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: ismat,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/ismat,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/ismat,v $ ## ## Under source code control: 1994/10/21 02:21:28 ## File existed as early as: 1994 diff --git a/help/ismult b/help/ismult index 2b0b881..af9c8cb 100644 --- a/help/ismult +++ b/help/ismult @@ -56,7 +56,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: ismult,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/ismult,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/ismult,v $ ## ## Under source code control: 1994/10/21 02:21:28 ## File existed as early as: 1994 diff --git a/help/isnull b/help/isnull index 99b62d7..0ace1f3 100644 --- a/help/isnull +++ b/help/isnull @@ -48,7 +48,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: isnull,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/isnull,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isnull,v $ ## ## Under source code control: 1994/10/21 02:21:28 ## File existed as early as: 1994 diff --git a/help/isnum b/help/isnum index bd1adb8..f8c88c8 100644 --- a/help/isnum +++ b/help/isnum @@ -50,7 +50,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: isnum,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/isnum,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isnum,v $ ## ## Under source code control: 1994/10/21 02:21:28 ## File existed as early as: 1994 diff --git a/help/isobj b/help/isobj index f8dd94c..ad82b8f 100644 --- a/help/isobj +++ b/help/isobj @@ -49,7 +49,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: isobj,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/isobj,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isobj,v $ ## ## Under source code control: 1994/10/21 02:21:29 ## File existed as early as: 1994 diff --git a/help/isobjtype b/help/isobjtype index 8545fe0..be36b84 100644 --- a/help/isobjtype +++ b/help/isobjtype @@ -52,7 +52,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: isobjtype,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/isobjtype,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isobjtype,v $ ## ## Under source code control: 1997/04/05 14:10:17 ## File existed as early as: 1997 diff --git a/help/isodd b/help/isodd index 877f52b..26db897 100644 --- a/help/isodd +++ b/help/isodd @@ -50,7 +50,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: isodd,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/isodd,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isodd,v $ ## ## Under source code control: 1994/10/21 02:21:29 ## File existed as early as: 1994 diff --git a/help/isprime b/help/isprime index ef59e15..4096532 100644 --- a/help/isprime +++ b/help/isprime @@ -66,7 +66,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: isprime,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/isprime,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isprime,v $ ## ## Under source code control: 1994/10/21 02:21:29 ## File existed as early as: 1994 diff --git a/help/isprint b/help/isprint new file mode 100644 index 0000000..8c387b5 --- /dev/null +++ b/help/isprint @@ -0,0 +1,54 @@ +NAME + isprint - whether character is a printable + +SYNOPSIS + isprint(c) + +TYPES + c string + + return int + +DESCRIPTION + Determine if c is printable. This function will return 1 if c is + printable, 0 otherwise. + +EXAMPLE + ; print isprint("A"), ispint("a"), isprint(" "), isprint("\t") + 1 1 1 0 + +LIMITS + none + +LINK LIBRARY + none + +SEE ALSO + islower, isupper, isalnum, isalpha, iscntrl, isdigit, isgraph, + ispunct, isspace, isxdigit + +## Copyright (C) 2013 Christoph Zurnieden +## +## Calc is open software; you can redistribute it and/or modify it under +## the terms of the version 2.1 of the GNU Lesser General Public License +## as published by the Free Software Foundation. +## +## Calc 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 Lesser General +## Public License for more details. +## +## A copy of version 2.1 of the GNU Lesser General Public License is +## distributed with calc under the filename COPYING-LGPL. You should have +## received a copy with calc; if not, write to Free Software Foundation, Inc. +## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +## +## @(#) $Revision: 30.3 $ +## @(#) $Id: isprint,v 30.3 2013/09/01 20:00:20 chongo Exp $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isprint,v $ +## +## Under source code control: 2013/09/01 18:10:53 +## File existed as early as: 2013 +## +## chongo /\oo/\ http://www.isthe.com/chongo/ +## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/ diff --git a/help/isptr b/help/isptr index cade803..2288ca9 100644 --- a/help/isptr +++ b/help/isptr @@ -58,7 +58,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: isptr,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/isptr,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isptr,v $ ## ## Under source code control: 1997/09/06 20:03:35 ## File existed as early as: 1997 diff --git a/help/ispunct b/help/ispunct new file mode 100644 index 0000000..b6528eb --- /dev/null +++ b/help/ispunct @@ -0,0 +1,54 @@ +NAME + ispunct - whether character is a punctuation + +SYNOPSIS + ispunct(c) + +TYPES + c string + + return int + +DESCRIPTION + Determine if c is a punctuation. This function will return 1 if c is + a punctuation, 0 otherwise. + +EXAMPLE + ; print ispunct("A"), ispunct("a"), ispunct(" "), ispunct("?") + 0 0 0 1 + +LIMITS + none + +LINK LIBRARY + none + +SEE ALSO + islower, isupper, isalnum, isalpha, iscntrl, isdigit, isgraph, isprint + isspace, isxdigit + +## Copyright (C) 2013 Christoph Zurnieden +## +## Calc is open software; you can redistribute it and/or modify it under +## the terms of the version 2.1 of the GNU Lesser General Public License +## as published by the Free Software Foundation. +## +## Calc 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 Lesser General +## Public License for more details. +## +## A copy of version 2.1 of the GNU Lesser General Public License is +## distributed with calc under the filename COPYING-LGPL. You should have +## received a copy with calc; if not, write to Free Software Foundation, Inc. +## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +## +## @(#) $Revision: 30.3 $ +## @(#) $Id: ispunct,v 30.3 2013/09/01 20:00:20 chongo Exp $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/ispunct,v $ +## +## Under source code control: 2013/09/01 18:10:53 +## File existed as early as: 2013 +## +## chongo /\oo/\ http://www.isthe.com/chongo/ +## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/ diff --git a/help/isqrt b/help/isqrt index fc6399b..cccd3fd 100644 --- a/help/isqrt +++ b/help/isqrt @@ -43,7 +43,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: isqrt,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/isqrt,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isqrt,v $ ## ## Under source code control: 1995/10/25 04:03:45 ## File existed as early as: 1995 diff --git a/help/isrand b/help/isrand index b2e18e4..97ca2ba 100644 --- a/help/isrand +++ b/help/isrand @@ -49,7 +49,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: isrand,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/isrand,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isrand,v $ ## ## Under source code control: 1995/11/11 05:09:41 ## File existed as early as: 1995 diff --git a/help/israndom b/help/israndom index 5e96642..500746b 100644 --- a/help/israndom +++ b/help/israndom @@ -49,7 +49,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: israndom,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/israndom,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/israndom,v $ ## ## Under source code control: 1995/11/11 05:09:41 ## File existed as early as: 1995 diff --git a/help/isreal b/help/isreal index 98d4da9..f4f4543 100644 --- a/help/isreal +++ b/help/isreal @@ -50,7 +50,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: isreal,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/isreal,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isreal,v $ ## ## Under source code control: 1994/10/21 02:21:30 ## File existed as early as: 1994 diff --git a/help/isrel b/help/isrel index be66a63..ca423ca 100644 --- a/help/isrel +++ b/help/isrel @@ -52,7 +52,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: isrel,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/isrel,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isrel,v $ ## ## Under source code control: 1994/10/21 02:21:30 ## File existed as early as: 1994 diff --git a/help/issimple b/help/issimple index 6478c7b..c086cb0 100644 --- a/help/issimple +++ b/help/issimple @@ -58,7 +58,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: issimple,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/issimple,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/issimple,v $ ## ## Under source code control: 1994/10/21 02:21:30 ## File existed as early as: 1994 diff --git a/help/isspace b/help/isspace new file mode 100644 index 0000000..1c29e70 --- /dev/null +++ b/help/isspace @@ -0,0 +1,54 @@ +NAME + isspace - whether character is a space character + +SYNOPSIS + isspace(c) + +TYPES + c string + + return int + +DESCRIPTION + Determine if c is a space character. This function will return 1 if c is + a space character, 0 otherwise. + +EXAMPLE + ; print isspace("A"), isspace("Kirk"), isspace(" "), isspace("?") + 0 0 1 0 + +LIMITS + none + +LINK LIBRARY + none + +SEE ALSO + islower, isupper, isalnum, isalpha, iscntrl, isdigit, isgraph, isprint + ispunct, isxdigit + +## Copyright (C) 2013 Christoph Zurnieden +## +## Calc is open software; you can redistribute it and/or modify it under +## the terms of the version 2.1 of the GNU Lesser General Public License +## as published by the Free Software Foundation. +## +## Calc 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 Lesser General +## Public License for more details. +## +## A copy of version 2.1 of the GNU Lesser General Public License is +## distributed with calc under the filename COPYING-LGPL. You should have +## received a copy with calc; if not, write to Free Software Foundation, Inc. +## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +## +## @(#) $Revision: 30.3 $ +## @(#) $Id: isspace,v 30.3 2013/09/01 20:00:20 chongo Exp $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isspace,v $ +## +## Under source code control: 2013/09/01 18:10:53 +## File existed as early as: 2013 +## +## chongo /\oo/\ http://www.isthe.com/chongo/ +## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/ diff --git a/help/issq b/help/issq index 653f1ed..cea467b 100644 --- a/help/issq +++ b/help/issq @@ -63,7 +63,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: issq,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/issq,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/issq,v $ ## ## Under source code control: 1994/10/21 02:21:31 ## File existed as early as: 1994 diff --git a/help/isstr b/help/isstr index 1f9219a..7713348 100644 --- a/help/isstr +++ b/help/isstr @@ -47,7 +47,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: isstr,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/isstr,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isstr,v $ ## ## Under source code control: 1994/10/21 02:21:31 ## File existed as early as: 1994 diff --git a/help/istype b/help/istype index 413f058..a5d065e 100644 --- a/help/istype +++ b/help/istype @@ -58,7 +58,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: istype,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/istype,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/istype,v $ ## ## Under source code control: 1994/10/21 02:21:31 ## File existed as early as: 1994 diff --git a/help/isupper b/help/isupper new file mode 100644 index 0000000..ea354ed --- /dev/null +++ b/help/isupper @@ -0,0 +1,54 @@ +NAME + isupper - whether character is upper case + +SYNOPSIS + isupper(c) + +TYPES + c string + + return int + +DESCRIPTION + Determine if c is upper case. This function will return 1 if c is + upper case, 0 otherwise. + +EXAMPLE + ; print isupper("A"), isupper("a"), isupper("1") + 1 0 0 + +LIMITS + none + +LINK LIBRARY + none + +SEE ALSO + islower, isalnum, isalpha, iscntrl, isdigit, isgraph, isprint, + ispunct, isspace, isxdigit + +## Copyright (C) 2013 Christoph Zurnieden +## +## Calc is open software; you can redistribute it and/or modify it under +## the terms of the version 2.1 of the GNU Lesser General Public License +## as published by the Free Software Foundation. +## +## Calc 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 Lesser General +## Public License for more details. +## +## A copy of version 2.1 of the GNU Lesser General Public License is +## distributed with calc under the filename COPYING-LGPL. You should have +## received a copy with calc; if not, write to Free Software Foundation, Inc. +## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +## +## @(#) $Revision: 30.3 $ +## @(#) $Id: isupper,v 30.3 2013/09/01 20:00:20 chongo Exp $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isupper,v $ +## +## Under source code control: 2013/09/01 18:10:53 +## File existed as early as: 2013 +## +## chongo /\oo/\ http://www.isthe.com/chongo/ +## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/ diff --git a/help/isxdigit b/help/isxdigit new file mode 100644 index 0000000..8b81c32 --- /dev/null +++ b/help/isxdigit @@ -0,0 +1,54 @@ +NAME + isxdigit - whether character a hexadecimal digit + +SYNOPSIS + isxdigit(c) + +TYPES + c string + + return int + +DESCRIPTION + Determine if c is a hexadecimal digit. This function will return 1 if c is + a hexadecimal digit, 0 otherwise. + +EXAMPLE + ; print isxdigit("A"), isxdigit("f"), isxdigit("2"), isxdigit("x") + 1 1 1 0 + +LIMITS + none + +LINK LIBRARY + none + +SEE ALSO + islower, isupper, isalnum, isalpha, iscntrl, isdigit, isgraph, isprint + ispunct, isspace + +## Copyright (C) 2013 Christoph Zurnieden +## +## Calc is open software; you can redistribute it and/or modify it under +## the terms of the version 2.1 of the GNU Lesser General Public License +## as published by the Free Software Foundation. +## +## Calc 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 Lesser General +## Public License for more details. +## +## A copy of version 2.1 of the GNU Lesser General Public License is +## distributed with calc under the filename COPYING-LGPL. You should have +## received a copy with calc; if not, write to Free Software Foundation, Inc. +## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +## +## @(#) $Revision: 30.3 $ +## @(#) $Id: isxdigit,v 30.3 2013/09/01 20:00:20 chongo Exp $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/isxdigit,v $ +## +## Under source code control: 2013/09/01 18:10:53 +## File existed as early as: 2013 +## +## chongo /\oo/\ http://www.isthe.com/chongo/ +## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/ diff --git a/help/jacobi b/help/jacobi index 57920b6..fa18113 100644 --- a/help/jacobi +++ b/help/jacobi @@ -79,7 +79,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: jacobi,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/jacobi,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/jacobi,v $ ## ## Under source code control: 1995/12/18 12:34:57 ## File existed as early as: 1995 diff --git a/help/join b/help/join index ab7c952..e027faa 100644 --- a/help/join +++ b/help/join @@ -56,7 +56,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: join,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/join,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/join,v $ ## ## Under source code control: 1995/07/09 19:41:40 ## File existed as early as: 1995 diff --git a/help/lcm b/help/lcm index 9b5731f..37518a6 100644 --- a/help/lcm +++ b/help/lcm @@ -47,7 +47,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: lcm,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/lcm,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/lcm,v $ ## ## Under source code control: 1995/10/05 04:52:26 ## File existed as early as: 1995 diff --git a/help/lcmfact b/help/lcmfact index 9299c3c..7c9c9a6 100644 --- a/help/lcmfact +++ b/help/lcmfact @@ -44,7 +44,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: lcmfact,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/lcmfact,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/lcmfact,v $ ## ## Under source code control: 1995/12/18 12:34:57 ## File existed as early as: 1995 diff --git a/help/lfactor b/help/lfactor index bf87d0f..356e9be 100644 --- a/help/lfactor +++ b/help/lfactor @@ -61,7 +61,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: lfactor,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/lfactor,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/lfactor,v $ ## ## Under source code control: 1995/12/18 12:34:57 ## File existed as early as: 1995 diff --git a/help/list b/help/list index 1d71b50..b5b4cbf 100644 --- a/help/list +++ b/help/list @@ -94,7 +94,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: list,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/list,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/list,v $ ## ## Under source code control: 1994/03/19 03:13:19 ## File existed as early as: 1994 diff --git a/help/ln b/help/ln index 4e01b13..97d995a 100644 --- a/help/ln +++ b/help/ln @@ -52,7 +52,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: ln,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/ln,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/ln,v $ ## ## Under source code control: 1995/10/11 04:41:26 ## File existed as early as: 1995 diff --git a/help/log b/help/log index ffdadf9..2a2a202 100644 --- a/help/log +++ b/help/log @@ -55,7 +55,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: log,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/log,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/log,v $ ## ## Under source code control: 2006/05/06 23:56:04 ## File existed as early as: 2006 diff --git a/help/lowbit b/help/lowbit index b666eb2..310fd04 100644 --- a/help/lowbit +++ b/help/lowbit @@ -46,7 +46,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: lowbit,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/lowbit,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/lowbit,v $ ## ## Under source code control: 1995/10/03 10:40:02 ## File existed as early as: 1995 diff --git a/help/ltol b/help/ltol index f2457d9..12f2a68 100644 --- a/help/ltol +++ b/help/ltol @@ -46,7 +46,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: ltol,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/ltol,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/ltol,v $ ## ## Under source code control: 1995/10/05 04:52:27 ## File existed as early as: 1995 diff --git a/help/makelist b/help/makelist index a7f80f4..3f82c85 100644 --- a/help/makelist +++ b/help/makelist @@ -50,7 +50,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: makelist,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/makelist,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/makelist,v $ ## ## Under source code control: 1995/07/10 02:09:31 ## File existed as early as: 1995 diff --git a/help/mat b/help/mat index 41c7ae3..adbb393 100644 --- a/help/mat +++ b/help/mat @@ -432,7 +432,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: mat,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/mat,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/mat,v $ ## ## Under source code control: 1991/07/21 04:37:22 ## File existed as early as: 1991 diff --git a/help/matdim b/help/matdim index 4cc4cc0..779f121 100644 --- a/help/matdim +++ b/help/matdim @@ -46,7 +46,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: matdim,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/matdim,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/matdim,v $ ## ## Under source code control: 1995/10/25 04:03:45 ## File existed as early as: 1995 diff --git a/help/matfill b/help/matfill index 5110097..4470d79 100644 --- a/help/matfill +++ b/help/matfill @@ -59,7 +59,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: matfill,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/matfill,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/matfill,v $ ## ## Under source code control: 1995/10/25 04:03:45 ## File existed as early as: 1995 diff --git a/help/matmax b/help/matmax index 27a41e5..58ed8f0 100644 --- a/help/matmax +++ b/help/matmax @@ -48,7 +48,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: matmax,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/matmax,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/matmax,v $ ## ## Under source code control: 1995/10/25 04:03:45 ## File existed as early as: 1995 diff --git a/help/matmin b/help/matmin index 1f2895d..4307e78 100644 --- a/help/matmin +++ b/help/matmin @@ -48,7 +48,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: matmin,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/matmin,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/matmin,v $ ## ## Under source code control: 1995/10/25 04:03:45 ## File existed as early as: 1995 diff --git a/help/matsum b/help/matsum index d4c1b83..c1eb3ed 100644 --- a/help/matsum +++ b/help/matsum @@ -47,7 +47,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: matsum,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/matsum,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/matsum,v $ ## ## Under source code control: 1995/10/25 04:03:46 ## File existed as early as: 1995 diff --git a/help/mattrace b/help/mattrace index 3642abb..fec70c1 100644 --- a/help/mattrace +++ b/help/mattrace @@ -48,7 +48,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: mattrace,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/mattrace,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/mattrace,v $ ## ## Under source code control: 1997/09/06 20:03:35 ## File existed as early as: 1997 diff --git a/help/mattrans b/help/mattrans index e932c17..86545cb 100644 --- a/help/mattrans +++ b/help/mattrans @@ -53,7 +53,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: mattrans,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/mattrans,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/mattrans,v $ ## ## Under source code control: 1995/10/25 04:03:46 ## File existed as early as: 1995 diff --git a/help/max b/help/max index 6f04746..def0821 100644 --- a/help/max +++ b/help/max @@ -88,7 +88,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: max,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/max,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/max,v $ ## ## Under source code control: 1995/10/05 04:52:27 ## File existed as early as: 1995 diff --git a/help/memsize b/help/memsize index a8c50bf..37d9428 100644 --- a/help/memsize +++ b/help/memsize @@ -108,7 +108,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: memsize,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/memsize,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/memsize,v $ ## ## Under source code control: 1997/03/23 20:28:02 ## File existed as early as: 1997 diff --git a/help/meq b/help/meq index 27c309e..7d43e26 100644 --- a/help/meq +++ b/help/meq @@ -50,7 +50,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: meq,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/meq,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/meq,v $ ## ## Under source code control: 1995/11/09 03:27:51 ## File existed as early as: 1995 diff --git a/help/min b/help/min index f63d35a..1a5a330 100644 --- a/help/min +++ b/help/min @@ -88,7 +88,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: min,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/min,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/min,v $ ## ## Under source code control: 1995/10/05 04:52:27 ## File existed as early as: 1995 diff --git a/help/minv b/help/minv index 38ad587..288e07f 100644 --- a/help/minv +++ b/help/minv @@ -64,7 +64,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: minv,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/minv,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/minv,v $ ## ## Under source code control: 1995/11/09 03:27:51 ## File existed as early as: 1995 diff --git a/help/mmin b/help/mmin index e058448..507067d 100644 --- a/help/mmin +++ b/help/mmin @@ -54,7 +54,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: mmin,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/mmin,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/mmin,v $ ## ## Under source code control: 1995/12/18 03:30:59 ## File existed as early as: 1995 diff --git a/help/mne b/help/mne index f2cceb7..f3b00e1 100644 --- a/help/mne +++ b/help/mne @@ -46,7 +46,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: mne,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/mne,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/mne,v $ ## ## Under source code control: 1995/11/09 03:27:51 ## File existed as early as: 1995 diff --git a/help/mod b/help/mod index a4c3e97..c5f90c1 100644 --- a/help/mod +++ b/help/mod @@ -155,7 +155,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: mod,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/mod,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/mod,v $ ## ## Under source code control: 1995/09/18 02:09:31 ## File existed as early as: 1995 diff --git a/help/modify b/help/modify index 8caa0c9..2176f76 100644 --- a/help/modify +++ b/help/modify @@ -72,7 +72,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: modify,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/modify,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/modify,v $ ## ## Under source code control: 1995/07/10 02:09:31 ## File existed as early as: 1995 diff --git a/help/name b/help/name index 1183ca3..3f0720e 100644 --- a/help/name +++ b/help/name @@ -56,7 +56,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: name,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/name,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/name,v $ ## ## Under source code control: 1997/04/05 14:12:44 ## File existed as early as: 1997 diff --git a/help/near b/help/near index 52e2837..e7499f5 100644 --- a/help/near +++ b/help/near @@ -48,7 +48,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: near,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/near,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/near,v $ ## ## Under source code control: 1995/10/25 04:03:46 ## File existed as early as: 1995 diff --git a/help/newerror b/help/newerror index 86aede2..52f27c1 100644 --- a/help/newerror +++ b/help/newerror @@ -88,7 +88,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: newerror,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/newerror,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/newerror,v $ ## ## Under source code control: 1996/04/30 03:39:56 ## File existed as early as: 1996 diff --git a/help/nextcand b/help/nextcand index 6c862e7..c1cea82 100644 --- a/help/nextcand +++ b/help/nextcand @@ -95,7 +95,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: nextcand,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/nextcand,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/nextcand,v $ ## ## Under source code control: 1996/02/25 00:27:43 ## File existed as early as: 1996 diff --git a/help/nextprime b/help/nextprime index f14506e..e9cbd21 100644 --- a/help/nextprime +++ b/help/nextprime @@ -54,7 +54,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: nextprime,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/nextprime,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/nextprime,v $ ## ## Under source code control: 1995/12/18 12:34:57 ## File existed as early as: 1995 diff --git a/help/norm b/help/norm index 8cd5154..e6b2ac7 100644 --- a/help/norm +++ b/help/norm @@ -54,7 +54,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: norm,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/norm,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/norm,v $ ## ## Under source code control: 1995/10/25 04:03:46 ## File existed as early as: 1995 diff --git a/help/null b/help/null index 2946c62..6290ea8 100644 --- a/help/null +++ b/help/null @@ -92,7 +92,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: null,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/null,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/null,v $ ## ## Under source code control: 1996/03/12 23:10:01 ## File existed as early as: 1996 diff --git a/help/num b/help/num index bbebe53..ee29cc0 100644 --- a/help/num +++ b/help/num @@ -55,7 +55,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: num,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/num,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/num,v $ ## ## Under source code control: 1995/10/05 04:52:27 ## File existed as early as: 1995 diff --git a/help/oldvalue b/help/oldvalue index 124a431..73093be 100644 --- a/help/oldvalue +++ b/help/oldvalue @@ -71,7 +71,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: oldvalue,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/oldvalue,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/oldvalue,v $ ## ## Under source code control: 1997/09/06 20:03:35 ## File existed as early as: 1997 diff --git a/help/operator b/help/operator index 9d80995..dd15dd1 100644 --- a/help/operator +++ b/help/operator @@ -227,7 +227,7 @@ operators ## ## @(#) $Revision: 30.2 $ ## @(#) $Id: operator,v 30.2 2007/07/11 23:00:39 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/operator,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/operator,v $ ## ## Under source code control: 1991/07/21 04:37:23 ## File existed as early as: 1991 diff --git a/help/ord b/help/ord index 1fcbbb1..3c509af 100644 --- a/help/ord +++ b/help/ord @@ -43,7 +43,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: ord,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/ord,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/ord,v $ ## ## Under source code control: 1994/09/30 01:45:46 ## File existed as early as: 1994 diff --git a/help/overview b/help/overview index c8d31dd..6e2dd0b 100644 --- a/help/overview +++ b/help/overview @@ -187,7 +187,7 @@ ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: overview,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/overview,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/overview,v $ ## ## Under source code control: 1991/07/21 04:37:23 ## File existed as early as: 1991 diff --git a/help/param b/help/param index ef91ba3..86c5f5e 100644 --- a/help/param +++ b/help/param @@ -68,7 +68,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: param,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/param,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/param,v $ ## ## Under source code control: 1996/03/12 23:10:01 ## File existed as early as: 1996 diff --git a/help/perm b/help/perm index ba57d09..1f20294 100644 --- a/help/perm +++ b/help/perm @@ -55,7 +55,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: perm,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/perm,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/perm,v $ ## ## Under source code control: 1994/10/20 04:03:02 ## File existed as early as: 1994 diff --git a/help/pfact b/help/pfact index b263395..343c57f 100644 --- a/help/pfact +++ b/help/pfact @@ -45,7 +45,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: pfact,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/pfact,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/pfact,v $ ## ## Under source code control: 1995/12/18 12:34:57 ## File existed as early as: 1995 diff --git a/help/pi b/help/pi index 21792b6..6fc8871 100644 --- a/help/pi +++ b/help/pi @@ -44,7 +44,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: pi,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/pi,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/pi,v $ ## ## Under source code control: 1995/10/25 04:03:46 ## File existed as early as: 1995 diff --git a/help/pix b/help/pix index 55fd04d..8523498 100644 --- a/help/pix +++ b/help/pix @@ -56,7 +56,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: pix,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/pix,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/pix,v $ ## ## Under source code control: 1995/12/18 12:34:58 ## File existed as early as: 1995 diff --git a/help/places b/help/places index c16a930..4042295 100644 --- a/help/places +++ b/help/places @@ -58,7 +58,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: places,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/places,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/places,v $ ## ## Under source code control: 1995/10/03 10:40:02 ## File existed as early as: 1995 diff --git a/help/pmod b/help/pmod index 38fe8e1..cbb6cef 100644 --- a/help/pmod +++ b/help/pmod @@ -67,7 +67,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: pmod,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/pmod,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/pmod,v $ ## ## Under source code control: 1995/11/09 03:27:51 ## File existed as early as: 1995 diff --git a/help/polar b/help/polar index 0af97e1..8bcfbf0 100644 --- a/help/polar +++ b/help/polar @@ -52,7 +52,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: polar,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/polar,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/polar,v $ ## ## Under source code control: 1995/10/25 04:03:46 ## File existed as early as: 1995 diff --git a/help/poly b/help/poly index c24113c..8605fe9 100644 --- a/help/poly +++ b/help/poly @@ -154,7 +154,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: poly,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/poly,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/poly,v $ ## ## Under source code control: 1995/12/02 02:40:43 ## File existed as early as: 1995 diff --git a/help/pop b/help/pop index 3918694..fac37c7 100644 --- a/help/pop +++ b/help/pop @@ -64,7 +64,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: pop,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/pop,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/pop,v $ ## ## Under source code control: 1994/03/19 03:13:20 ## File existed as early as: 1994 diff --git a/help/popcnt b/help/popcnt index ec1f94d..79503d2 100644 --- a/help/popcnt +++ b/help/popcnt @@ -50,7 +50,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: popcnt,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/popcnt,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/popcnt,v $ ## ## Under source code control: 1997/09/11 04:20:02 ## File existed as early as: 1997 diff --git a/help/pound b/help/pound index c85681a..0b44a2a 100644 --- a/help/pound +++ b/help/pound @@ -118,7 +118,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: pound,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/pound,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/pound,v $ ## ## Under source code control: 2007/02/06 14:09 ## File existed as early as: 2007 diff --git a/help/power b/help/power index 2d700f3..7c62133 100644 --- a/help/power +++ b/help/power @@ -73,7 +73,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: power,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/power,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/power,v $ ## ## Under source code control: 1995/10/25 04:03:46 ## File existed as early as: 1995 diff --git a/help/prevcand b/help/prevcand index a9221ee..e28c665 100644 --- a/help/prevcand +++ b/help/prevcand @@ -103,7 +103,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: prevcand,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/prevcand,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/prevcand,v $ ## ## Under source code control: 1996/02/25 00:27:43 ## File existed as early as: 1996 diff --git a/help/prevprime b/help/prevprime index 9cd791d..854b69b 100644 --- a/help/prevprime +++ b/help/prevprime @@ -57,7 +57,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: prevprime,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/prevprime,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/prevprime,v $ ## ## Under source code control: 1995/12/18 12:34:58 ## File existed as early as: 1995 diff --git a/help/printf b/help/printf index 6be3a51..c4be711 100644 --- a/help/printf +++ b/help/printf @@ -144,7 +144,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: printf,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/printf,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/printf,v $ ## ## Under source code control: 1996/03/12 22:50:41 ## File existed as early as: 1996 diff --git a/help/prompt b/help/prompt index 72c9a13..b9da736 100644 --- a/help/prompt +++ b/help/prompt @@ -55,7 +55,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: prompt,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/prompt,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/prompt,v $ ## ## Under source code control: 1995/12/18 12:34:58 ## File existed as early as: 1995 diff --git a/help/protect b/help/protect index 41b475a..5c37912 100644 --- a/help/protect +++ b/help/protect @@ -298,7 +298,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: protect,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/protect,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/protect,v $ ## ## Under source code control: 1997/07/10 22:38:44 ## File existed as early as: 1997 diff --git a/help/ptest b/help/ptest index 218f3fe..71258fd 100644 --- a/help/ptest +++ b/help/ptest @@ -147,7 +147,7 @@ SEE ALSO ## ## @(#) $Revision: 30.2 $ ## @(#) $Id: ptest,v 30.2 2007/09/01 19:53:15 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/ptest,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/ptest,v $ ## ## Under source code control: 1996/02/25 00:27:43 ## File existed as early as: 1996 diff --git a/help/push b/help/push index dcd98fd..80d3ea3 100644 --- a/help/push +++ b/help/push @@ -73,7 +73,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: push,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/push,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/push,v $ ## ## Under source code control: 1994/03/19 03:13:20 ## File existed as early as: 1994 diff --git a/help/putenv b/help/putenv index d3a9ad4..b38f4ce 100644 --- a/help/putenv +++ b/help/putenv @@ -65,7 +65,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: putenv,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/putenv,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/putenv,v $ ## ## Under source code control: 1995/07/09 03:48:57 ## File existed as early as: 1995 diff --git a/help/quo b/help/quo index dd93296..565104d 100644 --- a/help/quo +++ b/help/quo @@ -105,7 +105,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: quo,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/quo,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/quo,v $ ## ## Under source code control: 1995/09/18 04:01:44 ## File existed as early as: 1995 diff --git a/help/quomod b/help/quomod index 189f7c7..4b93279 100644 --- a/help/quomod +++ b/help/quomod @@ -117,7 +117,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: quomod,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/quomod,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/quomod,v $ ## ## Under source code control: 1995/05/07 03:17:03 ## File existed as early as: 1995 diff --git a/help/rand b/help/rand index 2cc649c..39d1dc8 100644 --- a/help/rand +++ b/help/rand @@ -261,7 +261,7 @@ SEE ALSO ## ## @(#) $Revision: 30.3 $ ## @(#) $Id: rand,v 30.3 2007/09/21 02:16:29 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/rand,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/rand,v $ ## ## Under source code control: 1996/01/01 02:16:09 ## File existed as early as: 1996 diff --git a/help/randbit b/help/randbit index 479d6cb..aa61705 100644 --- a/help/randbit +++ b/help/randbit @@ -60,7 +60,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: randbit,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/randbit,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/randbit,v $ ## ## Under source code control: 1996/01/01 03:17:22 ## File existed as early as: 1996 diff --git a/help/random b/help/random index 3696624..34ea7d2 100644 --- a/help/random +++ b/help/random @@ -177,7 +177,7 @@ SEE ALSO ## ## @(#) $Revision: 30.3 $ ## @(#) $Id: random,v 30.3 2007/09/21 02:16:29 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/random,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/random,v $ ## ## Under source code control: 1997/02/17 01:18:22 ## File existed as early as: 1997 diff --git a/help/randombit b/help/randombit index 4bd817a..5817e08 100644 --- a/help/randombit +++ b/help/randombit @@ -59,7 +59,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: randombit,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/randombit,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/randombit,v $ ## ## Under source code control: 1997/02/17 01:18:22 ## File existed as early as: 1997 diff --git a/help/randperm b/help/randperm index 8b3947b..f2e89ca 100644 --- a/help/randperm +++ b/help/randperm @@ -64,7 +64,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: randperm,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/randperm,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/randperm,v $ ## ## Under source code control: 1995/07/10 02:09:31 ## File existed as early as: 1995 diff --git a/help/rcin b/help/rcin index a7703b4..75b5ea6 100644 --- a/help/rcin +++ b/help/rcin @@ -90,7 +90,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: rcin,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/rcin,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/rcin,v $ ## ## Under source code control: 1996/02/25 02:22:21 ## File existed as early as: 1996 diff --git a/help/rcmul b/help/rcmul index e9b2d9c..a9bb561 100644 --- a/help/rcmul +++ b/help/rcmul @@ -79,7 +79,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: rcmul,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/rcmul,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/rcmul,v $ ## ## Under source code control: 1996/02/25 02:22:21 ## File existed as early as: 1996 diff --git a/help/rcout b/help/rcout index be641cf..e004895 100644 --- a/help/rcout +++ b/help/rcout @@ -81,7 +81,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: rcout,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/rcout,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/rcout,v $ ## ## Under source code control: 1996/02/25 02:22:21 ## File existed as early as: 1996 diff --git a/help/rcpow b/help/rcpow index 0e4b822..835ce22 100644 --- a/help/rcpow +++ b/help/rcpow @@ -90,7 +90,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: rcpow,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/rcpow,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/rcpow,v $ ## ## Under source code control: 1996/02/25 02:22:21 ## File existed as early as: 1996 diff --git a/help/rcsq b/help/rcsq index 443a8ff..df3c2d7 100644 --- a/help/rcsq +++ b/help/rcsq @@ -84,7 +84,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: rcsq,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/rcsq,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/rcsq,v $ ## ## Under source code control: 1996/02/25 02:22:21 ## File existed as early as: 1996 diff --git a/help/re b/help/re index ba9e86f..04b9bbf 100644 --- a/help/re +++ b/help/re @@ -43,7 +43,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: re,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/re,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/re,v $ ## ## Under source code control: 1995/10/05 04:52:27 ## File existed as early as: 1995 diff --git a/help/remove b/help/remove index 339809d..f7f1146 100644 --- a/help/remove +++ b/help/remove @@ -68,7 +68,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: remove,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/remove,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/remove,v $ ## ## Under source code control: 1996/03/12 23:10:01 ## File existed as early as: 1996 diff --git a/help/reverse b/help/reverse index f917f56..1370aa5 100644 --- a/help/reverse +++ b/help/reverse @@ -67,7 +67,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: reverse,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/reverse,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/reverse,v $ ## ## Under source code control: 1995/07/09 19:41:26 ## File existed as early as: 1995 diff --git a/help/rewind b/help/rewind index 439658f..5ab6735 100644 --- a/help/rewind +++ b/help/rewind @@ -50,7 +50,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: rewind,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/rewind,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/rewind,v $ ## ## Under source code control: 1996/04/30 03:05:18 ## File existed as early as: 1996 diff --git a/help/rm b/help/rm index 8a4e1d0..4cd3507 100644 --- a/help/rm +++ b/help/rm @@ -44,7 +44,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: rm,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/rm,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/rm,v $ ## ## Under source code control: 1996/06/30 22:02:58 ## File existed as early as: 1996 diff --git a/help/root b/help/root index af4777d..0472fde 100644 --- a/help/root +++ b/help/root @@ -70,7 +70,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: root,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/root,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/root,v $ ## ## Under source code control: 1995/10/25 04:03:46 ## File existed as early as: 1995 diff --git a/help/round b/help/round index 9800796..1883da3 100644 --- a/help/round +++ b/help/round @@ -140,7 +140,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: round,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/round,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/round,v $ ## ## Under source code control: 1994/09/30 00:52:38 ## File existed as early as: 1994 diff --git a/help/rsearch b/help/rsearch index 5105455..a4dfa64 100644 --- a/help/rsearch +++ b/help/rsearch @@ -127,7 +127,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: rsearch,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/rsearch,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/rsearch,v $ ## ## Under source code control: 1994/03/19 03:13:21 ## File existed as early as: 1994 diff --git a/help/runtime b/help/runtime index 70af939..7c92529 100644 --- a/help/runtime +++ b/help/runtime @@ -54,7 +54,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: runtime,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/runtime,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/runtime,v $ ## ## Under source code control: 1996/03/12 23:10:01 ## File existed as early as: 1996 diff --git a/help/saveval b/help/saveval index 3a6106a..f8e531b 100644 --- a/help/saveval +++ b/help/saveval @@ -65,7 +65,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: saveval,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/saveval,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/saveval,v $ ## ## Under source code control: 1997/09/06 20:03:35 ## File existed as early as: 1997 diff --git a/help/scale b/help/scale index 21e87c2..e1642c0 100644 --- a/help/scale +++ b/help/scale @@ -55,7 +55,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: scale,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/scale,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/scale,v $ ## ## Under source code control: 1995/12/18 12:34:58 ## File existed as early as: 1995 diff --git a/help/scan b/help/scan index bb193b6..422cb3f 100644 --- a/help/scan +++ b/help/scan @@ -51,7 +51,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: scan,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/scan,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/scan,v $ ## ## Under source code control: 1996/04/30 03:05:18 ## File existed as early as: 1996 diff --git a/help/scanf b/help/scanf index 5627c6f..22b11c4 100644 --- a/help/scanf +++ b/help/scanf @@ -48,7 +48,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: scanf,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/scanf,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/scanf,v $ ## ## Under source code control: 1996/04/30 03:05:18 ## File existed as early as: 1996 diff --git a/help/script b/help/script index cb43912..2a077d8 100644 --- a/help/script +++ b/help/script @@ -291,7 +291,7 @@ For more information use the following calc commands: ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: script,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/script,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/script,v $ ## ## Under source code control: 1999/11/30 05:29:48 ## File existed as early as: 1999 diff --git a/help/search b/help/search index b82f6db..7224624 100644 --- a/help/search +++ b/help/search @@ -143,7 +143,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: search,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/search,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/search,v $ ## ## Under source code control: 1994/03/19 03:13:21 ## File existed as early as: 1994 diff --git a/help/sec b/help/sec index dcc333f..c47c289 100644 --- a/help/sec +++ b/help/sec @@ -46,7 +46,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: sec,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/sec,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/sec,v $ ## ## Under source code control: 1995/11/13 03:49:00 ## File existed as early as: 1995 diff --git a/help/sech b/help/sech index 74350c0..3412b18 100644 --- a/help/sech +++ b/help/sech @@ -48,7 +48,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: sech,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/sech,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/sech,v $ ## ## Under source code control: 1995/11/13 03:49:00 ## File existed as early as: 1995 diff --git a/help/seed b/help/seed index da8785f..8138341 100644 --- a/help/seed +++ b/help/seed @@ -69,7 +69,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: seed,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/seed,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/seed,v $ ## ## Under source code control: 1999/10/03 10:04:29 ## File existed as early as: 1999 diff --git a/help/segment b/help/segment index 5373320..6fde420 100644 --- a/help/segment +++ b/help/segment @@ -63,7 +63,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: segment,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/segment,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/segment,v $ ## ## Under source code control: 1995/07/10 02:09:31 ## File existed as early as: 1995 diff --git a/help/select b/help/select index 3fb8bfd..4a2ef0e 100644 --- a/help/select +++ b/help/select @@ -55,7 +55,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: select,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/select,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/select,v $ ## ## Under source code control: 1995/07/10 02:09:31 ## File existed as early as: 1995 diff --git a/help/sgn b/help/sgn index 036e371..aad2165 100644 --- a/help/sgn +++ b/help/sgn @@ -57,7 +57,7 @@ SEE ALSO ## ## @(#) $Revision: 30.2 $ ## @(#) $Id: sgn,v 30.2 2008/05/10 13:23:57 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/sgn,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/sgn,v $ ## ## Under source code control: 1995/10/25 04:03:46 ## File existed as early as: 1995 diff --git a/help/sha1 b/help/sha1 index fe4ad45..51041a9 100644 --- a/help/sha1 +++ b/help/sha1 @@ -117,7 +117,7 @@ SEE ALSO ## ## @(#) $Revision: 30.2 $ ## @(#) $Id: sha1,v 30.2 2007/07/05 17:37:41 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/sha1,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/sha1,v $ ## ## Under source code control: 1997/03/23 00:01:18 ## File existed as early as: 1997 diff --git a/help/sin b/help/sin index bf1aca2..2d3e4ad 100644 --- a/help/sin +++ b/help/sin @@ -53,7 +53,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: sin,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/sin,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/sin,v $ ## ## Under source code control: 1994/03/19 01:40:28 ## File existed as early as: 1994 diff --git a/help/sinh b/help/sinh index e5d8458..7e2bca4 100644 --- a/help/sinh +++ b/help/sinh @@ -48,7 +48,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: sinh,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/sinh,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/sinh,v $ ## ## Under source code control: 1994/03/19 01:40:29 ## File existed as early as: 1994 diff --git a/help/size b/help/size index c09878c..a3c52cb 100644 --- a/help/size +++ b/help/size @@ -75,7 +75,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: size,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/size,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/size,v $ ## ## Under source code control: 1994/03/19 03:13:22 ## File existed as early as: 1994 diff --git a/help/sizeof b/help/sizeof index 958d61e..84dc590 100644 --- a/help/sizeof +++ b/help/sizeof @@ -103,7 +103,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: sizeof,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/sizeof,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/sizeof,v $ ## ## Under source code control: 1996/05/24 02:04:04 ## File existed as early as: 1996 diff --git a/help/sleep b/help/sleep index 6e80dc5..b63fbac 100644 --- a/help/sleep +++ b/help/sleep @@ -59,7 +59,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: sleep,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/sleep,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/sleep,v $ ## ## Under source code control: 2000/12/14 01:33:00 ## File existed as early as: 2000 diff --git a/help/sort b/help/sort index a860ef8..bd06b97 100644 --- a/help/sort +++ b/help/sort @@ -267,7 +267,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: sort,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/sort,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/sort,v $ ## ## Under source code control: 1995/07/09 19:41:26 ## File existed as early as: 1995 diff --git a/help/sqrt b/help/sqrt index 122e35c..3638e59 100644 --- a/help/sqrt +++ b/help/sqrt @@ -149,7 +149,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: sqrt,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/sqrt,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/sqrt,v $ ## ## Under source code control: 1995/09/18 03:54:32 ## File existed as early as: 1995 diff --git a/help/srand b/help/srand index 83e5772..a03aac9 100644 --- a/help/srand +++ b/help/srand @@ -168,7 +168,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: srand,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/srand,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/srand,v $ ## ## Under source code control: 1996/01/01 04:19:07 ## File existed as early as: 1996 diff --git a/help/srandom b/help/srandom index 03fbf00..3b1c83e 100644 --- a/help/srandom +++ b/help/srandom @@ -356,7 +356,7 @@ SEE ALSO ## ## @(#) $Revision: 30.2 $ ## @(#) $Id: srandom,v 30.2 2013/08/11 01:08:32 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/srandom,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/srandom,v $ ## ## Under source code control: 1997/02/17 01:18:22 ## File existed as early as: 1997 diff --git a/help/ssq b/help/ssq index 410e203..138c820 100644 --- a/help/ssq +++ b/help/ssq @@ -62,7 +62,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: ssq,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/ssq,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/ssq,v $ ## ## Under source code control: 1995/10/25 04:03:46 ## File existed as early as: 1995 diff --git a/help/statement b/help/statement index 41667d6..8a20007 100644 --- a/help/statement +++ b/help/statement @@ -338,7 +338,7 @@ Statements ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: statement,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/statement,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/statement,v $ ## ## Under source code control: 1991/07/21 04:37:23 ## File existed as early as: 1991 diff --git a/help/stoponerror b/help/stoponerror index cbc30a9..42677bc 100644 --- a/help/stoponerror +++ b/help/stoponerror @@ -53,7 +53,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: stoponerror,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/stoponerror,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/stoponerror,v $ ## ## Under source code control: 2006/05/21 00:50:59 ## File existed as early as: 2006 diff --git a/help/str b/help/str index c95b73b..e0c62e1 100644 --- a/help/str +++ b/help/str @@ -65,7 +65,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: str,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/str,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/str,v $ ## ## Under source code control: 1995/10/05 04:52:27 ## File existed as early as: 1995 diff --git a/help/strcasecmp b/help/strcasecmp new file mode 100644 index 0000000..12e4103 --- /dev/null +++ b/help/strcasecmp @@ -0,0 +1,68 @@ +NAME + strcasecmp - compare two strings, case independent + +SYNOPSIS + strcasecmp(s1, s2) + +TYPES + s1 string + s2 string + + return integer (1, 0 or -1) + +DESCRIPTION + Let n1 = size(s1), n2 = size(s2) and m = min(n1, n2). + This function compares up to m values of consecutive characters + in the strings s1 and s2. If an inequality is encountered, the + function returns 1 or -1 according as the greater character is + in s1 or s2. If there has been no inequality, the function + returns 1, 0, or -1 according as n1 is greater than, equal to, + or less than n2. + Note that null characters within the strings are included in the + comparison. + This function is case independent + +EXAMPLE + strcasecmp("ab", "aBc") == -1 + strcasecmp("abc", "aBb") == 1 + strcasecmp("abc", "abc") == 0 + strcasecmp("abc", "aBc") == 0 + strcasecmp("abc", "aBd") == -1 + strcasecmp("abc\0", "aBc") == 1 + strcasecmp("a\0b", "A\0c") == -1 + +LIMITS + none + +LINK LIBRARY + FLAG stringcaserel(STRING *s1, STRING *s2) + +SEE ALSO + strcat, strcpy, strerror, strlen, strncmp, strncasecmp strncpy, strpos, + strprintf, strscan, strscanf, substr + +## Copyright (C) 2013 Christoph Zurnieden +## +## Calc is open software; you can redistribute it and/or modify it under +## the terms of the version 2.1 of the GNU Lesser General Public License +## as published by the Free Software Foundation. +## +## Calc 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 Lesser General +## Public License for more details. +## +## A copy of version 2.1 of the GNU Lesser General Public License is +## distributed with calc under the filename COPYING-LGPL. You should have +## received a copy with calc; if not, write to Free Software Foundation, Inc. +## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +## +## @(#) $Revision: 30.3 $ +## @(#) $Id: strcasecmp,v 30.3 2013/09/01 21:23:25 chongo Exp $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/strcasecmp,v $ +## +## Under source code control: 2013/09/01 18:10:53 +## File existed as early as: 2013 +## +## chongo /\oo/\ http://www.isthe.com/chongo/ +## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/ diff --git a/help/strcat b/help/strcat index 2228699..fddf5f7 100644 --- a/help/strcat +++ b/help/strcat @@ -55,7 +55,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: strcat,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/strcat,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/strcat,v $ ## ## Under source code control: 1995/10/05 04:52:27 ## File existed as early as: 1995 diff --git a/help/strerror b/help/strerror index 48e70ea..d65333a 100644 --- a/help/strerror +++ b/help/strerror @@ -73,7 +73,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: strerror,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/strerror,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/strerror,v $ ## ## Under source code control: 1996/04/30 03:05:18 ## File existed as early as: 1996 diff --git a/help/strlen b/help/strlen index 1395e2f..08ec0c1 100644 --- a/help/strlen +++ b/help/strlen @@ -44,7 +44,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: strlen,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/strlen,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/strlen,v $ ## ## Under source code control: 1995/10/05 04:52:27 ## File existed as early as: 1995 diff --git a/help/strncasecmp b/help/strncasecmp new file mode 100644 index 0000000..6e47288 --- /dev/null +++ b/help/strncasecmp @@ -0,0 +1,71 @@ +NAME + strncasecmp - compare two strings up to n characters, case independent + +SYNOPSIS + strncasecmp(s1, s2, n) + +TYPES + s1 string + s2 string + n nonnegative integer + + return integer (1, 0 or -1) + +DESCRIPTION + Let n1 = size(s1), n2 = size(s2) and m = min(n1, n2, n). + This function compares up to m values of consecutive characters + in the strings s1 and s2. If an inequality is encountered, the + function returns 1 or -1 according as the greater character is + in s1 or s2. If there has been no inequality, the function + returns 1, 0, or -1 according as min(n1, n) is greater than, equal + to, or less than min(n2, n); in particular, if n1 and n2 are + both greater than equal to n, 0 is returned. + This function is case independent. + + +EXAMPLE + strncasecmp("abc", "xyz", 0) == 0 + strncasecmp("abc", "xyz", 1) == -1 + strncasecmp("abc", "", 1) == 1 + strncasecmp("a", "b", 2) == -1 + strncasecmp("ab", "Ac", 2) == -1 + strncasecmp("\0ac", "\0b", 2) == -1 + strncasecmp("ab", "aBc", 2) == 0 + strncasecmp("abc", "abd", 2) == 0 + +LIMITS + none + +LINK LIBRARY + This function uses FLAG stringcaserel(STRING *s1, STRING *s2), + temporarily replacing the string sizes by min(n1,n) and min(n2,n). + +SEE ALSO + strcat, strcpy, strerror, strlen, strncpy, strpos, strcasecmp + strprintf, strscan, strscanf, substr + +## Copyright (C) 2013 Christoph Zurnieden +## +## Calc is open software; you can redistribute it and/or modify it under +## the terms of the version 2.1 of the GNU Lesser General Public License +## as published by the Free Software Foundation. +## +## Calc 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 Lesser General +## Public License for more details. +## +## A copy of version 2.1 of the GNU Lesser General Public License is +## distributed with calc under the filename COPYING-LGPL. You should have +## received a copy with calc; if not, write to Free Software Foundation, Inc. +## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +## +## @(#) $Revision: 30.3 $ +## @(#) $Id: strncasecmp,v 30.3 2013/09/01 20:08:38 chongo Exp $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/strncasecmp,v $ +## +## Under source code control: 2013/09/01 20:04:02 +## File existed as early as: 2013 +## +## chongo /\oo/\ http://www.isthe.com/chongo/ +## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/ diff --git a/help/strpos b/help/strpos index 7f282b3..f7d0ec5 100644 --- a/help/strpos +++ b/help/strpos @@ -57,7 +57,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: strpos,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/strpos,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/strpos,v $ ## ## Under source code control: 1995/07/09 03:48:57 ## File existed as early as: 1995 diff --git a/help/strprintf b/help/strprintf index 71a706b..2a937e1 100644 --- a/help/strprintf +++ b/help/strprintf @@ -57,7 +57,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: strprintf,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/strprintf,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/strprintf,v $ ## ## Under source code control: 1996/03/12 22:50:41 ## File existed as early as: 1996 diff --git a/help/strscan b/help/strscan index dfae7a6..55e1fa6 100644 --- a/help/strscan +++ b/help/strscan @@ -54,7 +54,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: strscan,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/strscan,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/strscan,v $ ## ## Under source code control: 1996/04/30 03:05:18 ## File existed as early as: 1996 diff --git a/help/strscanf b/help/strscanf index 488e40e..9e70253 100644 --- a/help/strscanf +++ b/help/strscanf @@ -133,7 +133,7 @@ SEE ALSO ## ## @(#) $Revision: 30.2 $ ## @(#) $Id: strscanf,v 30.2 2013/08/11 01:08:32 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/strscanf,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/strscanf,v $ ## ## Under source code control: 1996/04/30 03:05:18 ## File existed as early as: 1996 diff --git a/help/strtolower b/help/strtolower new file mode 100644 index 0000000..4721dcf --- /dev/null +++ b/help/strtolower @@ -0,0 +1,47 @@ +NAME + strtolower - transform an ASCII string to lower case + +SYNOPSIS + strtolower(x_1) + +TYPES + str string + x_1 any + + return string + +DESCRIPTION + All ASCII upper case letters get transformed into lower case letters. This + function can be locale dependent. + + The function returns the lowercase'd string. + +EXAMPLE + ; strtolower(" GNU Lesser General Public License"); + " gnu lesser general public license" + +LIMITS + none. + +LINK LIBRARY + none + +SEE ALSO + strcat, strcpy, strerror, strlen, strncmp, strncpy, strpos, + strprintf, strscanf, substr + +## Copyright (C) 2013 Christoph Zurnieden +## +## Calc is open software; you can redistribute it and/or modify it under +## the terms of the version 2.1 of the GNU Lesser General Public License +## as published by the Free Software Foundation. +## +## Calc 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 Lesser General +## Public License for more details. +## +## A copy of version 2.1 of the GNU Lesser General Public License is +## distributed with calc under the filename COPYING-LGPL. You should have +## received a copy with calc; if not, write to Free Software Foundation, Inc. +## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. diff --git a/help/strtoupper b/help/strtoupper new file mode 100644 index 0000000..7891a79 --- /dev/null +++ b/help/strtoupper @@ -0,0 +1,47 @@ +NAME + strtoupper - transform an ASCII string to upper case + +SYNOPSIS + strtoupper(x_1) + +TYPES + str string + x_1 any + + return string + +DESCRIPTION + All ASCII lower case letters get transformed into upper case letters. This + function can be locale dependent. + + The function returns the lowercase'd string. + +EXAMPLE + ; strtoupper(" GNU Lesser General Public License"); + " GNU LESSER GENERAL PUBLIC LICENSE" + +LIMITS + none. + +LINK LIBRARY + none + +SEE ALSO + strcat, strcpy, strerror, strlen, strncmp, strncpy, strpos, + strprintf, strscanf, substr, strtoupper + +## Copyright (C) 2013 Christoph Zurnieden +## +## Calc is open software; you can redistribute it and/or modify it under +## the terms of the version 2.1 of the GNU Lesser General Public License +## as published by the Free Software Foundation. +## +## Calc 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 Lesser General +## Public License for more details. +## +## A copy of version 2.1 of the GNU Lesser General Public License is +## distributed with calc under the filename COPYING-LGPL. You should have +## received a copy with calc; if not, write to Free Software Foundation, Inc. +## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. diff --git a/help/substr b/help/substr index 0ec4188..25921f9 100644 --- a/help/substr +++ b/help/substr @@ -56,7 +56,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: substr,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/substr,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/substr,v $ ## ## Under source code control: 1995/10/05 04:52:27 ## File existed as early as: 1995 diff --git a/help/sum b/help/sum index 549c10e..2888e31 100644 --- a/help/sum +++ b/help/sum @@ -76,7 +76,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: sum,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/sum,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/sum,v $ ## ## Under source code control: 1997/03/10 03:59:59 ## File existed as early as: 1997 diff --git a/help/swap b/help/swap index e9c0493..cd3dc66 100644 --- a/help/swap +++ b/help/swap @@ -56,7 +56,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: swap,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/swap,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/swap,v $ ## ## Under source code control: 1995/12/18 12:34:58 ## File existed as early as: 1995 diff --git a/help/system b/help/system index b8c3750..7fc220d 100644 --- a/help/system +++ b/help/system @@ -61,7 +61,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: system,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/system,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/system,v $ ## ## Under source code control: 1995/07/09 03:48:57 ## File existed as early as: 1995 diff --git a/help/systime b/help/systime index d25f4c3..ab06e6d 100644 --- a/help/systime +++ b/help/systime @@ -54,7 +54,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: systime,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/systime,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/systime,v $ ## ## Under source code control: 2006/12/16 10:31:08 ## File existed as early as: 2006 diff --git a/help/tail b/help/tail index 9f87c0d..c9c957e 100644 --- a/help/tail +++ b/help/tail @@ -67,7 +67,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: tail,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/tail,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/tail,v $ ## ## Under source code control: 1995/07/10 02:09:30 ## File existed as early as: 1995 diff --git a/help/tan b/help/tan index 4635278..ff5e630 100644 --- a/help/tan +++ b/help/tan @@ -46,7 +46,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: tan,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/tan,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/tan,v $ ## ## Under source code control: 1994/03/19 01:40:29 ## File existed as early as: 1994 diff --git a/help/tanh b/help/tanh index 1e0ca25..f697465 100644 --- a/help/tanh +++ b/help/tanh @@ -48,7 +48,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: tanh,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/tanh,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/tanh,v $ ## ## Under source code control: 1994/03/19 01:40:30 ## File existed as early as: 1994 diff --git a/help/test b/help/test index b0efd15..1982c55 100644 --- a/help/test +++ b/help/test @@ -73,7 +73,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: test,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/test,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/test,v $ ## ## Under source code control: 1996/07/11 01:05:13 ## File existed as early as: 1996 diff --git a/help/time b/help/time index ee46b9c..64d7e5f 100644 --- a/help/time +++ b/help/time @@ -44,7 +44,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: time,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/time,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/time,v $ ## ## Under source code control: 1996/05/01 16:57:20 ## File existed as early as: 1996 diff --git a/help/todo b/help/todo index dd6d972..27213f0 100644 --- a/help/todo +++ b/help/todo @@ -135,7 +135,7 @@ Medium priority items: ## ## @(#) $Revision: 30.2 $ ## @(#) $Id: todo,v 30.2 2007/09/08 02:52:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/todo,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/todo,v $ ## ## Under source code control: 1999/10/20 07:42:55 ## File existed as early as: 1999 diff --git a/help/trunc b/help/trunc index 4dd3211..0e7e48f 100644 --- a/help/trunc +++ b/help/trunc @@ -53,7 +53,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: trunc,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/trunc,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/trunc,v $ ## ## Under source code control: 1994/09/30 00:52:38 ## File existed as early as: 1994 diff --git a/help/types b/help/types index 8678f67..def5711 100644 --- a/help/types +++ b/help/types @@ -119,7 +119,7 @@ Builtin types ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: types,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/types,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/types,v $ ## ## Under source code control: 1991/07/21 04:37:24 ## File existed as early as: 1991 diff --git a/help/unexpected b/help/unexpected index 4f91b63..3bc3130 100644 --- a/help/unexpected +++ b/help/unexpected @@ -422,7 +422,7 @@ Unexpected ## ## @(#) $Revision: 30.4 $ ## @(#) $Id: unexpected,v 30.4 2008/05/10 13:18:09 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/unexpected,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/unexpected,v $ ## ## Under source code control: 1997/03/21 13:15:18 ## File existed as early as: 1997 diff --git a/help/usertime b/help/usertime index ce337b6..f056d8f 100644 --- a/help/usertime +++ b/help/usertime @@ -52,7 +52,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: usertime,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/usertime,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/usertime,v $ ## ## Under source code control: 2006/12/16 10:31:08 ## File existed as early as: 2006 diff --git a/help/variable b/help/variable index 8afee25..f934dca 100644 --- a/help/variable +++ b/help/variable @@ -157,7 +157,7 @@ Variable declarations ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: variable,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/variable,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/variable,v $ ## ## Under source code control: 1991/07/21 04:37:25 ## File existed as early as: 1991 diff --git a/help/version b/help/version index bcc63b6..82ec039 100644 --- a/help/version +++ b/help/version @@ -50,7 +50,7 @@ SEE ALSO ## ## @(#) $Revision: 30.2 $ ## @(#) $Id: version,v 30.2 2013/08/11 01:08:32 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/version,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/version,v $ ## ## Under source code control: 2001/05/28 17:38:01 ## File existed as early as: 2001 diff --git a/help/wishlist b/help/wishlist index b3f5f0f..eadc9a7 100644 --- a/help/wishlist +++ b/help/wishlist @@ -205,7 +205,7 @@ Calc Enhancement Wish List: ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: wishlist,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/wishlist,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/wishlist,v $ ## ## Under source code control: 1991/07/21 04:37:24 ## File existed as early as: 1991 diff --git a/help/xor b/help/xor index 8458ff7..780187f 100644 --- a/help/xor +++ b/help/xor @@ -56,7 +56,7 @@ SEE ALSO ## ## @(#) $Revision: 30.1 $ ## @(#) $Id: xor,v 30.1 2007/03/16 11:10:42 chongo Exp $ -## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/xor,v $ +## @(#) $Source: /usr/local/src/bin/calc/help/RCS/xor,v $ ## ## Under source code control: 1995/10/05 04:52:27 ## File existed as early as: 1995 diff --git a/str.c b/str.c index 8a8d5c9..4b4cc45 100644 --- a/str.c +++ b/str.c @@ -19,8 +19,8 @@ * received a copy with calc; if not, write to Free Software Foundation, Inc. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - * @(#) $Revision: 30.4 $ - * @(#) $Id: str.c,v 30.4 2013/09/01 20:23:07 chongo Exp $ + * @(#) $Revision: 30.5 $ + * @(#) $Id: str.c,v 30.5 2013/09/02 01:38:08 chongo Exp $ * @(#) $Source: /usr/local/src/bin/calc/RCS/str.c,v $ * * Under source code control: 1990/02/15 01:48:10 @@ -683,6 +683,47 @@ stringshift(STRING *s1, long n) return s; } +/* + * stringtoupper makes st upper case + */ +STRING * +stringtoupper(STRING *st) +{ + char *c1, *c2; + size_t num; + + if (st->s_len > 0) { + c1 = st->s_str; + num = st->s_len; + c2 = c1; + while (num-- > 0) + *c1++ = (char)toupper((int)*c2++); + *c1 = '\0'; + } + return slink(st); +} + +/* + * stringtolower makes st lower case + */ +STRING * +stringtolower(STRING *st) +{ + char *c1, *c2; + size_t num; + + if (st->s_len > 0) { + c1 = st->s_str; + num = st->s_len; + c2 = c1; + while (num-- > 0) + *c1++ = (char)tolower((int)*c2++); + *c1 = '\0'; + } + return slink(st); +} + + /* * stringcpy copies as many characters as possible * from s2 to s1 and returns s1 diff --git a/value.h b/value.h index e63c032..a23e7d8 100644 --- a/value.h +++ b/value.h @@ -17,8 +17,8 @@ * received a copy with calc; if not, write to Free Software Foundation, Inc. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - * @(#) $Revision: 30.5 $ - * @(#) $Id: value.h,v 30.5 2013/09/01 18:57:17 chongo Exp $ + * @(#) $Revision: 30.6 $ + * @(#) $Id: value.h,v 30.6 2013/09/02 01:38:08 chongo Exp $ * @(#) $Source: /usr/local/src/bin/calc/RCS/value.h,v $ * * Under source code control: 1993/07/30 19:42:47 @@ -524,6 +524,8 @@ E_FUNC STRING *stringsegment(STRING *, long, long); E_FUNC STRING *stringshift(STRING *, long); E_FUNC STRING *stringcomp(STRING *); E_FUNC STRING *stringneg(STRING *); +E_FUNC STRING *stringtolower(STRING *); +E_FUNC STRING *stringtoupper(STRING *); E_FUNC STRING *stringcpy(STRING *, STRING *); E_FUNC STRING *stringncpy(STRING *, STRING *, size_t); E_FUNC long stringcontent(STRING *s); diff --git a/version.c b/version.c index 5256524..623339e 100644 --- a/version.c +++ b/version.c @@ -19,8 +19,8 @@ * received a copy with calc; if not, write to Free Software Foundation, Inc. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - * @(#) $Revision: 30.20 $ - * @(#) $Id: version.c,v 30.20 2013/09/01 22:19:41 chongo Exp $ + * @(#) $Revision: 30.21 $ + * @(#) $Id: version.c,v 30.21 2013/09/02 00:00:59 chongo Exp $ * @(#) $Source: /usr/local/src/bin/calc/RCS/version.c,v $ * * Under source code control: 1990/05/22 11:00:58 @@ -49,7 +49,7 @@ static char *program; #define MAJOR_VER 2 /* major library version */ #define MINOR_VER 12 /* minor library version */ #define MAJOR_PATCH 4 /* major software level under library version */ -#define MINOR_PATCH 11 /* minor software level or 0 if not patched */ +#define MINOR_PATCH 12 /* minor software level or 0 if not patched */ /* diff --git a/win32/calcerr.c b/win32/calcerr.c index c6ab785..afc26c5 100644 --- a/win32/calcerr.c +++ b/win32/calcerr.c @@ -445,5 +445,7 @@ CONST char *error_table[E__COUNT+2] = { "Bad argument for ispunct", "Bad argument for isspace", "Bad argument for isxdigit", + "Bad argument type for strtoupper", + "Bad argument type for strtolower", NULL }; diff --git a/win32/calcerr.h b/win32/calcerr.h index 0e678c2..492fa58 100644 --- a/win32/calcerr.h +++ b/win32/calcerr.h @@ -442,9 +442,11 @@ #define E_ISPUNCT 10429 /* Bad argument for ispunct */ #define E_ISSPACE 10430 /* Bad argument for isspace */ #define E_ISXDIGIT 10431 /* Bad argument for isxdigit */ +#define E_STRTOUPPER 10432 /* Bad argument type for strtoupper */ +#define E_STRTOLOWER 10433 /* Bad argument type for strtolower */ -#define E__HIGHEST 10431 /* highest calc error */ -#define E__COUNT 431 /* number of calc errors */ +#define E__HIGHEST 10433 /* highest calc error */ +#define E__COUNT 433 /* number of calc errors */ #define E_USERDEF 20000 /* base of user defined errors */ /* names of calc error values */