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.
Hello,
Decided to edit the whole post as nobody was replying, and it was pretty darn big as it was. So I have to write this script for my assignment, and I am new to scripting. The problem is we have to handle command line args, process an operations file which adds supermarket items to a database... (7 Replies)