Re: Security problem in bashrc and possible fix

2005-11-30 Thread Bob Proulx
Noam Samuel wrote: > First of all, I am aware that this bug has been posted before, but I think > that I have an idea for a possible simple-to-implement fix for this problem > and similar problems that may arise. Unfortunately the topic you are bringing up is not really a bug. You are talking abo

Re: error in math args?

2005-11-30 Thread Paul Jarc
Scott Dylewski <[EMAIL PROTECTED]> wrote: > I get an error when running: > echo $(( 008 / 2 )) Numbers starting with 0 are interpreted as octal, and so can only use digits 0-7. You'll have to strip off the leading zeros to make the number be interpreted as decimal. paul __

Re: error in math args?

2005-11-30 Thread Chris F.A. Johnson
On Wed, 30 Nov 2005, Scott Dylewski wrote: I'm running Fedora core 3 on an Athlon, and I get the following problem: I get an error when running: echo $(( 008 / 2 )) In my script, however, I'm passing the value as a variable. when it gets to 008, I get an error. Numbers with a leading 0

error in math args?

2005-11-30 Thread Scott Dylewski
I'm running Fedora core 3 on an Athlon, and I get the following problem: I get an error when running: echo $(( 008 / 2 )) In my script, however, I'm passing the value as a variable. when it gets to 008, I get an error. see below for my version and such: [EMAIL PROTECTED] complex]$ echo $(( 001