![]() |
|
|
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 |
| Need to validate a date input format | rajugp1 | Shell Programming and Scripting | 2 | 02-02-2009 02:16 PM |
| passing an input parameter like date thru jcl using BPXBATCH utility | Sujatha Gowda | SUN Solaris | 0 | 06-03-2008 09:23 AM |
| awk/input parameter | wannalearn | Shell Programming and Scripting | 3 | 07-30-2007 02:42 PM |
| how do I make dynamic parameter names? Or get the value of a parameter evaluated twi | Awanka | Shell Programming and Scripting | 2 | 04-19-2007 10:37 PM |
| Shell script with input parameter | jhmr7 | UNIX for Dummies Questions & Answers | 1 | 07-13-2005 01:04 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
This is the prelim and u will have to look for tighter time checking ..but thats the start....
#! /bin/ksh input=$1 echo $input if [[ $input = [0-2][0-9]:[0-6][0-9] ]] then echo "Correct input" else echo "Incorrect input" fi |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|