![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| absolute path | Kirichiko | UNIX for Dummies Questions & Answers | 2 | 10-03-2007 07:30 AM |
| get absolute filename | mainegate | Shell Programming and Scripting | 0 | 08-21-2007 01:59 PM |
| absolute path | filedeliver | High Level Programming | 4 | 06-05-2007 06:18 PM |
| Getting absolute value ksh | icyhot | UNIX for Dummies Questions & Answers | 3 | 03-30-2006 07:05 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi vgersh99,
I saw this post and I wonder if I have an associative array for calculate an operation; how abs would work in this case. Assume; I have count[$1]=$2-$1; If I apply the one you suggested in earlier post, can it be turned to; count[$1]= ($4-$5)*(0.05); if(count[$1]>=0){ count[$1]=count[$1];} else count[$1]=0-count[$1]; Please advise. Really hope to hear from you soon! Thanks -Jason |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|