![]() |
|
|
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 |
| string comparison operators, what are they?? | ballazrus | Shell Programming and Scripting | 12 | 04-07-2009 12:43 PM |
| [sh] String comparison operators | userix | Shell Programming and Scripting | 1 | 05-16-2008 05:09 AM |
| If with set operators | Khoomfire | UNIX for Advanced & Expert Users | 2 | 04-25-2008 12:03 PM |
| bitwise operators | areef4u | UNIX for Advanced & Expert Users | 9 | 08-04-2006 09:39 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
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 ? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|