Thanks for all the help.
Think that I am going to go with the ifelse option after all. Its more readable and is evaluating the variable as an integer rather than looking at its character sequence.
p5wizard, in your expression ?([+])1@([0-9])@([0-9]) what is the @ symbol doing?
Hi,
Can I do the following in a case statement of a ksh script;
Check to see if my variable SIZE is >100, >200, >300 etc. If so what is the syntax?
case $SIZE in
>100)
What is the correct syntax for >100, if this is possible?
>200)
...
esac
I can do this with a series of if statements...
Hi,
I have a string which I need to split in relation to certain characters. I know that these characters are unique within the string.
String "...DEL_v...". I want to split the string into two seperate strings where the underscore appears above, leaving
me with String...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.