9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear Group,
I have following input:
sa;sb;sc;sd;period;ma;mb;mc;md;me
sa1;sb1;sc1;sd1;200001;ma1;mb1;mc1;md1;me1
sa2;sb2;sc2;sd2;200002;ma2;mb2;mc2;md2;me2
sa3;sb3;sc3;sd3;200003;ma3;mb3;mc3;md3;me3
first line contains the headers!
I want to create with one pass the following output:... (8 Replies)
Discussion started by: suturjik
8 Replies
2. Shell Programming and Scripting
(3 Replies)
Discussion started by: Rishabh Jain
3 Replies
3. Shell Programming and Scripting
This is what I was trying but failed to do so need help.
cat 1.sql | awk '{printf("%s",NR%4 ? $0",":$0"\n")}'
Output :-
I want to add 2 more values for each line (hostname,user name) so the output should have hostname & username (testsrv01,test1)
Output should be like... (4 Replies)
Discussion started by: lazydev
4 Replies
4. Shell Programming and Scripting
Dear All
I have a text file which has many columns (>10,000). I want to create a new text file which will NOT include following columns: 5,15,105,200. How can I do that in shell (or awk, perl)? Thanks. (6 Replies)
Discussion started by: littlewenwen
6 Replies
5. AIX
Hi all,
my first post. Be kind to me and to my english writing (i'm french) :)
During mksysb backup, some files are moving. I don't know yet which files (i'm starting a new job). For now, i'm wondering which fs are mandatory for a mksysb backup.
Currently, hereafter the content of rootvg :... (5 Replies)
Discussion started by: Fundix
5 Replies
6. Shell Programming and Scripting
I have following text:
NAME=ora.LISTENER.lsnr
TYPE=ora.listener.type
TARGET=ONLINE , ONLINE , ONLINE , ONLINE
STATE=ONLINE on host1, ONLINE on host2, ONLINE on host3, ONLINE on host4
NAME=ora.LISTENER_1525.lsnr
TYPE=ora.listener.type
TARGET=ONLINE ... (2 Replies)
Discussion started by: rcc50886
2 Replies
7. Shell Programming and Scripting
I have an awk script which can be used in the following ways:
xi and xf will only be mandatory when processing the file fin.zc.
awk -v xi=0/-0.5 -v xf=80/30 -f ./zc2cmd.awk fin.zc > fout.cmod
awk -f ./zc2cmd.awk -u
awk -f ./zc2cmd.awk --usg
awk -f ./zc2cmd.awk -e
awk -f ./zc2cmd.awk... (1 Reply)
Discussion started by: kristinu
1 Replies
8. Shell Programming and Scripting
Hi Friends,
Please help me in finding the solution for this :
I have a file as below :
CuDv:
name = "hdisk0"
status = 1
chgstatus = 2
ddins = "scsidisk"
location = ""
parent = "vscsi0"
connwhere = "830000000000"
PdDvLn... (3 Replies)
Discussion started by: vijaya2006
3 Replies
9. Shell Programming and Scripting
I have 2 files - fileA and fileB
I need to match the first field of the 2 files then output some of the fields from fileA on the same line as certain fields from fileB.
There will be instances where fileB does not have a match for first field in fileA
Thanks in advance (8 Replies)
Discussion started by: Mudshark
8 Replies
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)