Skip to Content.
Sympa Menu

baslinux - Re: [BL] Simple File Manager 42

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: Lee Forrest <lforrestster AT gmail.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] Simple File Manager 42
  • Date: Fri, 2 Feb 2007 21:12:07 +0000

On Sat, Feb 03, 2007 at 05:48:39PM +1300, 3aoo-cvfd AT dea.spamcon.org wrote:
> Lee Forrest wrote:
> >
> > [11] /var [: 0: unknown operand
> >
> > That's a test error, right?
>
> Yes.
>
> > dc $num 4 mod
> > on the commandline yields _no_ output,
>
> It turns out to be a bug in the dc in BL3 busybox.
> I tested the script with busybox 1.00pre7 (before
> posting it) and it worked fine. It also works with
> the full printf and dc.
>
> I'm very disappointed that the BL3 busybox (1.01) failed.
> ------------------------------
> <$>x=20;busybox dc $x 5 /
> 4
> <$>x=20;busybox.bl3 dc $x 5 /
> <$>
> ------------------------------

I started suspecting that after I sent off the last post and discovered
it was in busybox.

If I can figure out what dc is supposed to be doing there,
I can probably do it with expr and/or bash (directly).

(hint)

Thanks,

Lee

--
BasicLinux: Small is Beautiful
http://www.basiclinux.com.ru





Archive powered by MHonArc 2.6.24.

Top of Page