aboutsummaryrefslogtreecommitdiff
path: root/gen
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-07-07 07:02:33 +0000
committerStefan Eßer <se@FreeBSD.org>2020-07-07 07:02:33 +0000
commit3960d8924a1a0ba2f0f5e8510e73a10ee20d726b (patch)
tree068fa33f5b47453a5521c0ff1b2b613ff8a3452c /gen
parent1f958cfad78842ab9a1193471589231e25596cb3 (diff)
downloadsrc-3960d8924a1a0ba2f0f5e8510e73a10ee20d726b.tar.gz
src-3960d8924a1a0ba2f0f5e8510e73a10ee20d726b.zip
Update to release 3.1.1vendor/bc/3.1.1
This release fixes a regression from traditional bc behavior in FreeBSD with regard to "-e quit" being passed on the command line and add Spanish message catalogs.
Notes
Notes: svn path=/vendor/bc/dist/; revision=362984 svn path=/vendor/bc/3.1.1/; revision=362985; tag=vendor/bc/3.1.1
Diffstat (limited to 'gen')
-rw-r--r--gen/bc_help.txt9
-rw-r--r--gen/dc_help.txt4
-rw-r--r--gen/lib.bc4
-rw-r--r--gen/lib2.bc4
-rw-r--r--gen/strgen.c4
-rwxr-xr-xgen/strgen.sh4
6 files changed, 17 insertions, 12 deletions
diff --git a/gen/bc_help.txt b/gen/bc_help.txt
index 648ed2526051..e013251b16bb 100644
--- a/gen/bc_help.txt
+++ b/gen/bc_help.txt
@@ -1,9 +1,9 @@
/*
* *****************************************************************************
*
- * Copyright (c) 2018-2020 Gavin D. Howard and contributors.
+ * SPDX-License-Identifier: BSD-2-Clause
*
- * All rights reserved.
+ * Copyright (c) 2018-2020 Gavin D. Howard and contributors.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -58,6 +58,8 @@ This bc has three differences to the GNU bc:
3) This bc has many more extensions than the GNU bc does. For details, see the
man page.
+This bc also implements the dot (.) extension of the BSD bc.
+
Options:
-e expr --expression=expr
@@ -94,6 +96,9 @@ Options:
e(expr) = raises e to the power of expr
j(n, x) = Bessel function of integer order n of x
+ This bc may load more functions with these options. See the manpage for
+ details.
+
-P --no-prompt
Disable the prompt in interactive mode.
diff --git a/gen/dc_help.txt b/gen/dc_help.txt
index 18e990d9f7bb..6a26ece26488 100644
--- a/gen/dc_help.txt
+++ b/gen/dc_help.txt
@@ -1,9 +1,9 @@
/*
* *****************************************************************************
*
- * Copyright (c) 2018-2020 Gavin D. Howard and contributors.
+ * SPDX-License-Identifier: BSD-2-Clause
*
- * All rights reserved.
+ * Copyright (c) 2018-2020 Gavin D. Howard and contributors.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
diff --git a/gen/lib.bc b/gen/lib.bc
index 8b60cb97071d..93ac29546beb 100644
--- a/gen/lib.bc
+++ b/gen/lib.bc
@@ -1,9 +1,9 @@
/*
* *****************************************************************************
*
- * Copyright (c) 2018-2020 Gavin D. Howard and contributors.
+ * SPDX-License-Identifier: BSD-2-Clause
*
- * All rights reserved.
+ * Copyright (c) 2018-2020 Gavin D. Howard and contributors.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
diff --git a/gen/lib2.bc b/gen/lib2.bc
index 6b10af151385..98baffdd30f6 100644
--- a/gen/lib2.bc
+++ b/gen/lib2.bc
@@ -1,9 +1,9 @@
/*
* *****************************************************************************
*
- * Copyright (c) 2018-2020 Gavin D. Howard and contributors.
+ * SPDX-License-Identifier: BSD-2-Clause
*
- * All rights reserved.
+ * Copyright (c) 2018-2020 Gavin D. Howard and contributors.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
diff --git a/gen/strgen.c b/gen/strgen.c
index d741c1a793d0..f4c4b51d1248 100644
--- a/gen/strgen.c
+++ b/gen/strgen.c
@@ -1,9 +1,9 @@
/*
* *****************************************************************************
*
- * Copyright (c) 2018-2020 Gavin D. Howard and contributors.
+ * SPDX-License-Identifier: BSD-2-Clause
*
- * All rights reserved.
+ * Copyright (c) 2018-2020 Gavin D. Howard and contributors.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
diff --git a/gen/strgen.sh b/gen/strgen.sh
index 24d560991f8d..f389c12c0579 100755
--- a/gen/strgen.sh
+++ b/gen/strgen.sh
@@ -1,8 +1,8 @@
#! /bin/sh
#
-# Copyright (c) 2018-2020 Gavin D. Howard and contributors.
+# SPDX-License-Identifier: BSD-2-Clause
#
-# All rights reserved.
+# Copyright (c) 2018-2020 Gavin D. Howard and contributors.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met: