]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
use bc in example, not dc
authorJim Meyering <jim@meyering.net>
Mon, 10 Apr 2000 09:20:49 +0000 (09:20 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 10 Apr 2000 09:20:49 +0000 (09:20 +0000)
doc/sh-utils.texi

index 318da5139b59fd894c26713b2c00252bb7fcdeba..5c977abfee210bf12434e0b7a1959bc4d88e2837 100644 (file)
@@ -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