bc LF/CR near the 68th char?
Smoot Carl-Mitchell
smoot at tic.com
Sat Mar 14 04:21:49 UTC 2009
On Fri, 2009-03-13 at 12:48 -0700, Evuraan::ഏവൂരാന് wrote:
> Hi all,
>
> bc folds (LF/CR) right after the 68th char or so, when working with
> large numbers. is there a way to avoid the folding from within bc? (I
> know I can use c=$(echo $a |bc -l) ; echo $c |sed 's/\\ //g' as a work
> around) - but if this could be done from within bc, that wud be
> nice..!
See the man page. Set the environment variable BC_LINE_LENGTH=0
--
Smoot Carl-Mitchell
Computer Systems and
Network Consultant
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005
More information about the ubuntu-users
mailing list