![]() |
|
|
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 |
| validate user ids | KiranKumarKarre | Shell Programming and Scripting | 4 | 06-12-2009 06:43 AM |
| How to validate a column? | algernonz | Shell Programming and Scripting | 11 | 11-03-2008 05:48 AM |
| Validate date | giridher2000 | Shell Programming and Scripting | 2 | 09-15-2008 05:12 AM |
| How to Validate | SanjayLinux | Shell Programming and Scripting | 10 | 09-27-2007 08:16 AM |
| validate | ruffenator | Shell Programming and Scripting | 3 | 01-22-2002 10:37 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Validate and Calculate
Hi, i am trying to validate 2 variables and then subtract, the following code works well in AiX but when i try in Solaris it doesnt work. Code:
((TIME1>TIME2)) && ((TIME2=TIME2+864)) ((DIF=TIME2-TIME1)) echo difference = $DIF Seconds is there any way the validation can be done using expression or bc or any other method... Thanks in advance |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|