![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| How to apply aix 5.3 TL8 properly on ML5 aix system ? | astjen | AIX | 6 | 10-13-2008 01:02 PM |
| Need to apply Checks SSh/SCP | niceboykunal123 | Shell Programming and Scripting | 0 | 04-16-2008 01:41 AM |
| How to apply the awk commnad ? | preethgideon | UNIX for Dummies Questions & Answers | 3 | 10-30-2006 09:32 PM |
| How to apply patches in HP-UX ? | bbose | HP-UX | 2 | 12-30-2005 09:34 PM |
| Apply to end of line | sysera | Shell Programming and Scripting | 4 | 07-12-2005 11:23 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
How to apply brackets?
Hi,
I have a query term like this: $query="apple NOT banana AND fruits"; $query="a1 NOT prim1 AND a2 NOT a3 OR a5"; I want to apply brackets to the NOT terms and the output should be like this: Code:
$query="apple NOT (banana) AND fruits"; $query="a1 NOT (prim1) AND a2 NOT (a3) OR a5"; Regards Vanitha Last edited by vanitham; 01-23-2009 at 07:01 AM.. |
|
||||
|
Quote:
How can i do that in perl??? Regards Vanitha |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|