summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-04-10 09:20:49 +0000
committerJim Meyering <jim@meyering.net>2000-04-10 09:20:49 +0000
commit85846c1ba124b372312526ad00199a42beae3c10 (patch)
tree406e0126c3bbf3a7719c77a469db2ff88800a39f /doc
parent42b1404b54a82d9ec41fe974d2a6f5580f9c5f4d (diff)
downloadcoreutils-85846c1ba124b372312526ad00199a42beae3c10.tar.xz
use bc in example, not dc
Diffstat (limited to 'doc')
-rw-r--r--doc/sh-utils.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/sh-utils.texi b/doc/sh-utils.texi
index 318da5139..5c977abfe 100644
--- a/doc/sh-utils.texi
+++ b/doc/sh-utils.texi
@@ -3205,7 +3205,7 @@ the products of large primes. Factoring the product of the two largest 32-bit
prime numbers takes over 10 minutes of CPU time on a 400MHz Pentium II.
@example
-$ p=`echo '4294967279 4294967291*p'|dc`
+$ p=`echo '4294967279 * 4294967291'|bc`
$ factor $p
18446743979220271189: 4294967279 4294967291
@end example