![]() |
|
|
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 |
| Evaluating Decimal values | larrys721 | Shell Programming and Scripting | 4 | 06-02-2008 09:31 PM |
| Converting Binary decimal coded values to Ascii Values | gaur.deepti | UNIX for Advanced & Expert Users | 3 | 04-02-2008 01:33 PM |
| How to sort decimal values in bash | ahjiefreak | Shell Programming and Scripting | 1 | 01-21-2008 09:25 AM |
| Help: How do I ADD non-integer (decimal) values? | limshady411 | Shell Programming and Scripting | 2 | 09-07-2005 05:41 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
comparing two decimal values in KSH
Hi Gurus,
I wrote a small KSH script, in that i am comparing two variables like this curr_time = date +%h.%m set_time=23.55 If [[$curr_time -ge $set_time]]; then zip the file fi The above script is croned to run evey 5(3,8,.......,58) minutes, but it is zipping at 23.03 hours. My intention is at 23.58 .what is wrong here. Please help me |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|