![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [sh] String comparison operators | userix | Shell Programming and Scripting | 1 | 05-16-2008 01:09 AM |
| If with set operators | Khoomfire | UNIX for Advanced & Expert Users | 2 | 04-25-2008 08:03 AM |
| bitwise operators | areef4u | UNIX for Advanced & Expert Users | 9 | 08-04-2006 05:39 AM |
| string comparison operators, what are they?? | ballazrus | Shell Programming and Scripting | 11 | 02-13-2006 03:30 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Get Comparison operators from with RexExp
Hello all
im trying to get the Comparison operators from string with out much success I have : $myvar = "if (hhhh <= blah.count )" ; when I do : if ($myvar =~ m/.*([<=|=|<|>|>=]).*/){ ……. } I keep getting the "=" and not "<=" why ? |
| Forum Sponsor | ||
|
|