Re: newbie bash questions

2002-11-17 Thread Randal L. Schwartz
> "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

Re: newbie bash questions

2002-11-17 Thread Christopher Solomon
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 >