> "Steve" == Steve <[EMAIL PROTECTED]> writes:
Steve> My assignment
gah. No homework here, please. Especially *bash* homework.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulti
Sorry if you got this twice!
Hi everyone, for some reason I can't seem to do basic math in this bash
script I'm creating for a class I'm taking. Here's my code
#!/bin/bash
isec=`date +%s`
thisec=$isec*$isec-$isec
I'm just getting the date in seconds, then trying to get a sort of
random number ou
On 17 Nov 2002, Steve wrote:
> Hi everyone, for some reason I can't seem to do basic math in this bash
> script I'm creating for a class I'm taking. Here's my code
>
> #!/bin/bash
> isec=`date +%s`
> thisec=$isec*$isec-$isec
>
> I'm just getting the date in seconds, then trying to get a sort of
>
Hi everyone, for some reason I can't seem to do basic math in this bash
script I'm creating for a class I'm taking. Here's my code
#!/bin/bash
isec=`date +%s`
thisec=$isec*$isec-$isec
I'm just getting the date in seconds, then trying to get a sort of
random number out of it by squaring the result