Hi,
I have to search those statements from the file which starts from "shanky"(only shanky, shanky09 or 09shanky is not allowed) and ends with ");". These two string can be in a same line or different line. And also i have to negate those lines which starts with #.
Can any one please give me... (2 Replies)
I have 10 appservers and each appserver has 4 jvms . Each of these logs is archived and stored on a nfs directory . For example the files are
/logs/200907/ap1-jvm1.server.log.20090715.gz
/logs/200907/ap2-jvm2.server.log.20090714.gz
/logs/200908/ap1-jvm1.server.log.20090812.gz
I want to... (3 Replies)
user 10
values
content is:
musage.py
yes
value
user 11
values
content is:
gusage.py
yes
value
how to print "user" string line by searching "content is:" string and "usage.py" string in perl (8 Replies)
Hello :)
I have this file
cat employee_list
Name : jack
Gender: m
ID : 4512
DOB : 03/27/1980
hire date : 04/23/2012
Nationality: US
marital status : single
=====================
Name : mick
Gender: m
ID : 1256
DOB : 03/27/1970
Hire date : 012/10/2011
Nationality: US
Marital... (4 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I have file which has got the following content
sam 123 LD 41
sam 234 kp
sam LD 41
kam pu
sam LD 61
Now... (1 Reply)
Want to fetch a column with multiple pattern using awk.
How to achieve the same.
Tried
cat test
address : 10.63.20.92/24
address : 10.64.22.93/24
address : 10.53.40.91/24
cat test | awk '{print $3}' |awk -F "/" '{print $1}'
10.63.20.92
10.64.22.93
10.53.40.91
Is there any... (2 Replies)
I have a sample file with following output:
HTTP/1.1 200 OK
User: admin
Set-Cookie: AMBARISESSIONID=y3v3648yqcno32nq478kw7ar;Path=/;HttpOnly
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/plain
Vary: Accept-Encoding, User-Agent
Content-Length: 6057
Server:... (4 Replies)
#!/usr/bin/ksh
a="Run successfully"
cd $APPS
ls -l *.txt | while read $txt
do
if then
cp $APPS/$txt cp $hist/$txt
else
rm $APPS/$txt
echo "Files has been removed"
fi
done
New in shell script please help me out
Around 100 txt files in $APPS dir i want to search pattern from... (8 Replies)
Discussion started by: Kalia
8 Replies
LEARN ABOUT DEBIAN
www::bugzilla::search
WWW::Bugzilla::Search(3pm) User Contributed Perl Documentation WWW::Bugzilla::Search(3pm)NAME
WWW::Bugzilla::Search - Handles searching bugzilla bugs via WWW::Mechanize.
SYNOPSIS
use WWW::Bugzilla::Search;
# Login
my $search = WWW::Bugzilla::Search->new(
server => 'bugs.example.com',
email => 'user@example.com',
password => 'my_passwd',
);
$search->summary('This is my summary');
my @bugs = $search->search();
DESCRIPTION
WWW::Bugzilla::Search provides an API to search for bugs in a Bugzilla database. Any resulting bugs will be returned as instances of
WWW::Bugzilla bugs.
INTERFACE
Multiple choice search criteria
The following fields are multiple choice fields:
classification, component, op_sys, priority, product, resolution, bug_severity, bug_status, target_milestone, version, hardware,
rep_platform
Available options can be retrieved via:
$search->field();
To choose a given value, use:
$search->field('value');
Text search criteria
The following fields are avaiilable for text searching:
assigned_to, reporter, summary
To searc using a given field, use:
$search->field('value');
Methods
search()
Searches Bugzilla with the defined criteria. Returns a list of bugs that match the criteria. Each bug is a seperate instance of
WWW::Bugzilla
reset()
Resets all search criteria.
BUGS, IMPROVEMENTS
There may well be bugs in this module. Using it as I have, I just have not run into any. In addition, this module does not support ALL of
Bugzilla's features. I will consider any patches or improvements, just send me an email at the address listed below.
AUTHOR
Written by:
Brian Caswell (bmc@shmoo.com)
Portions taken from WWW::Bugzilla, originally written by:
Matthew C. Vella (the_mcv@yahoo.com)
LICENSE
WWW::Bugzilla::Search - Module providing API to search Bugzilla bugs.
Copyright (C) 2006 Brian Caswell (bmc@shmoo.com)
Portions Copyright (C) 2003 Matthew C. Vella (the_mcv@yahoo.com)
This module is free software; you can redistribute it and/or modify it
under the terms of either:
a) the GNU General Public License as published by the Free Software
Foundation; either version 1, or (at your option) any later version,
or
b) the "Artistic License" which comes with this module.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either
the GNU General Public License or the Artistic License for more details.
You should have received a copy of the Artistic License with this
module, in the file ARTISTIC. If not, I'll be glad to provide one.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
perl v5.10.1 2009-10-15 WWW::Bugzilla::Search(3pm)