Hello Friends,
My script gives an output like below:- but i only want the red part to be displayed. how to i do that. I am enclosing my shell script after that.
id='CCRCWebServerINSTALLDIR'
id='AdministrationTools-CINSTALLDIR'
id='AdministrationTools-ent-CINSTALLDIR'... (3 Replies)
Hi,
I know how to use awk to search some expressions like five consecutive numbers, , this is easy.
However, how do I make awk print the pattern that is been matched?
For example:
input: usa,canada99292,japan222,france59664,egypt223
output:99292,59664 (6 Replies)
Trying to sum field #6 when field #2 matches string as follows:
Input data:
2010-09-18-20.24.44.206117 UOWEXEC db2bp DB2XYZ hostname 1
2010-09-18-20.24.44.206117 UOWWAIT db2bp DB2XYZ hostname ... (3 Replies)
guys !
I want to search .com,.html files .....
how do I match pattern...?
here's wht I hv written
if ( $i ~ /.com/ )
even escaping it doesn't help
if ( $i ~ /\.com/ ) (2 Replies)
Hi, I have 2 files that I have modified to basically match each other, however I want to determine what (if any) line in file 1 does not exist in file 2. I need to match column $1 and $2 as a single string in file1 to $1 and $2 in file2 as these two columns create a match.
I'm stuck in an AWK... (9 Replies)
Hello Guyz
I have been following this forum for a while and the solutions provided are super useful. I currently have a scenario where i need to search for a pattern and start searching by keeping the first pattern as a baseline
ABC
DEF
LMN
EFG
HIJ
LMN
OPQ
In the above text i need to... (8 Replies)
I'm using awk to determine if a field starting in position 604 for length of 10 is not equal to ALL spaces. It's searching several files which are in the current directory.
The below awk indicates that there are 84 records on all files where this field IS NOT equal to ALL spaces ( there are 10... (2 Replies)
I need to grep for the pattern text inside the square brackets which are in red and not in green..my current code greps patterns both of them, which i don't want
Input fileref|XP_002371341.1| oxoacyl-ACP reductase, putative gb|EPT24759.1| 3-ketoacyl-(acyl-carrier-protein) reductase ... (2 Replies)
I am trying to combine lines with these conditions:
1. First line starts with text of "libname VALUE db2 datasrc" where VALUE can be any text.
2. If condition1 is met then continue to combine lines through a line that ends with a semicolon.
3. Ignore case when matching patterns and remove any... (5 Replies)
Discussion started by: Wes Kem
5 Replies
LEARN ABOUT DEBIAN
cgi::application::plugin::devpopup::query
Query(3pm) User Contributed Perl Documentation Query(3pm)NAME
CGI::Application::Plugin::DevPopup::Query - show CGI query in DevPopup window
SYNOPSIS
use CGI::Application::Plugin::DevPopup;
use CGI::Application::Plugin::DevPopup::Query;
The rest of your application follows
...
DESCRIPTION
This module is a plugin for CGI::Application::Plugin::DevPopup. Whenever used, it creates two sections in the DevPopup output. First
section, "Current Run Mode", shows name of run mode executed. Second section, "CGI Query", contains a list of CGI query parameters and
associated values passed to your CGI::Application.
See "query()" in CGI::Application and CGI.pm for more information about query parameters.
VERSION
1.03
SUBROUTINES /METHODS
No public methods for this module exist.
DEPENDENCIES
CGI::Application::Plugin::DevPopup
CONFIGURATION AND ENVIRONMENT
N/A
DIAGNOSTICS
N/A
SEE ALSO
CGI::Application::Plugin::DevPopup, CGI::Application
INCOMPATIBILITIES
Not known.
BUGS AND LIMITATIONS
Not known.
AUTHOR
Serguei Trouchelle, <mailto:stro@cpan.org>
Most of code is based by CGI::Application::Plugin::DevPopup by Rhesa Rozendaal, <mailto:rhesa@cpan.org>
LICENSE AND COPYRIGHT
This module is distributed under the same terms as Perl itself.
Copyright (c) 2009-2011 Serguei Trouchelle
perl v5.12.4 2011-11-01 Query(3pm)