[BusyBox] [PATCH] dc should not print result by default

Glenn McGrath bug1 at iinet.net.au
Sat Jul 24 05:59:27 UTC 2004


On Sat, 24 Jul 2004 11:38:09 +1000
Paul Whittaker <paw at si1.dod.gov.au> wrote:

> Product: Busybox
> Version: 1.00rc1
> 
> As already discussed on this list, the dc applet's behaviour isn't 
> compatible with GNU dc in that busybox dc prints a result by default
> and the GNU dc doesn't.  As a trivial example, compare the output of:
> 
>     echo "1 1 +" | dc
> 
> and
> 
>     echo "1 1 +" | busybox dc
> 
> Trivial fix attached.

Looks reasonable to me, applied.


Glenn



More information about the busybox mailing list