Hi guys ,
if a=12345678 i need to check that "a"
less than 8 char
greater than 8 char
equal to 8 char
contain only numeric.
I done the above with seperate if condition to check and print the proper echo statement according to the result.i.e more than 8 char/lessthan etc..
can i able to check all the condtions in one if using OR operator and echo the proper output.
Anybody pls help me out.
OS:SUNOS
script:shell scripting