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
REPORTER-BUGZILLA(1) LIBREPORT MANUAL REPORTER-BUGZILLA(1)
NAME
reporter-bugzilla - Reports problem to Bugzilla.
SYNOPSIS
reporter-bugzilla [-vbf] [-g GROUP]... [-c CONFFILE]... [-F FMTFILE] [-A FMTFILE2] -d DIR
Or:
reporter-bugzilla [-v] [-c CONFFILE]... [-d DIR] -t[ID] FILE...
Or:
reporter-bugzilla [-v] [-c CONFFILE]... [-d DIR] -t[ID] -w
Or:
reporter-bugzilla [-v] [-c CONFFILE]... -h DUPHASH
DESCRIPTION
The tool reads problem directory DIR. Then it logs in to Bugzilla and tries to find a bug with the same abrt_hash:HEXSTRING in Whiteboard.
If such bug is not found, then a new bug is created. Elements of DIR are stored in the bug as part of bug description or as attachments,
depending on their type and size.
Otherwise, if such bug is found and it is marked as CLOSED DUPLICATE, the tool follows the chain of duplicates until it finds a
non-DUPLICATE bug. The tool adds a new comment to found bug.
The URL to new or modified bug is printed to stdout and recorded in reported_to element in DIR.
Option -t uploads FILEs to the already created bug on Bugzilla site. The bug ID is retrieved from directory specified by -d DIR. If problem
data in DIR was never reported to Bugzilla, upload will fail.
Option -tID uploads FILEs to the bug with specified ID on Bugzilla site. -d DIR is ignored.
Option -w adds bugzilla user to bug's CC list.
Option -r sets the last url from reporter_to element which is prefixed with TRACKER_NAME to URL field. This option is applied only when a
new bug is to be filed. The default value is ABRT Server"
Configuration file
If not specified, CONFFILE defaults to /etc/libreport/plugins/bugzilla.conf. Configuration file lines should have PARAM = VALUE format. The
parameters are:
Login
Login to Bugzilla account.
Password
Password to Bugzilla account.
BugzillaURL
Bugzilla HTTP(S) address. (default: https://bugzilla.redhat.com)
SSLVerify
Use yes/true/on/1 to verify server's SSL certificate. (default: yes)
Product
Product bug field value. Useful if you needed different product than specified in /etc/os-release
ProductVersion
Version bug field value. Useful if you needed different product version than specified in /etc/os-release
Parameters can be overridden via $Bugzilla_PARAM environment variables.
Formatting configuration files
Lines starting with # are ignored.
Lines can be continued on the next line using trailing backslash.
Format:
"%summary
summary format"
"section
element1[,element2]..." The literal text line to be added to Bugzilla comment. Can be empty. (Empty lines are NOT ignored!)
Summary format is a line of text, where %element% is replaced by
text element's content, and [[...%element%...]] block is used only if
%element% exists. [[...]] blocks can nest.
Sections can be:
- %summary: bug summary format string.
- %attach: a list of elements to attach.
- text, double colon (::) and the list of comma-separated elements.
Elements can be:
- problem directory element names, which get formatted as
<element_name>: <contents>
or
<element_name>:
:<contents>
:<contents>
:<contents>
- problem directory element names prefixed by "%bare_",
which is formatted as-is, without "<element_name>:" and colons
- %oneline, %multiline, %text wildcards, which select all corresponding
elements for output or attachment
- %binary wildcard, valid only for %attach section, instructs to attach
binary elements
- problem directory element names prefixed by "-",
which excludes given element from all wildcards
Nonexistent elements are silently ignored.
If none of elements exists, the section will not be created.
Integration with ABRT events
reporter-bugzilla can be used as an ABRT reporter. Example fragment for /etc/libreport/report_event.conf:
# Report Python crashes
EVENT=report_Bugzilla analyzer=Python
reporter-bugzilla -d . -c /etc/libreport/plugins/bugzilla.conf
OPTIONS
-d DIR
Path to problem directory.
-c CONFFILE
Path to configuration file.
-b
When creating bug, attach binary files too.
-f
Force reporting even if this problem is already reported.
-F CONF_FORMAT_FILE
Formatting file for initial comment. Default: /etc/libreport/plugins/bugzilla_format.conf
-A CONF_FORMAT_FILE
Formatting file for duplicates. Default: /etc/libreport/plugins/bugzilla_format.conf
-t[ID]
Upload FILEs to the already created bug on Bugzilla site.
-w
Add bugzilla user to CC list [of bug with this ID]. Applicable only with -t.
-h, --duphash DUPHASH
Search in Bugzilla by abrt's DUPHASH and print BUG_ID.
-g, --group GROUP
When creating a new ticket restrict access to this group only.
ENVIRONMENT VARIABLES
Environment variables take precedence over values provided in the configuration file.
Bugzilla_Login
Login to Bugzilla account.
Bugzilla_Password
Password to Bugzilla account.
Bugzilla_BugzillaURL
Bugzilla HTTP(S) address. (default: https://bugzilla.redhat.com)
Bugzilla_SSLVerify
Use yes/true/on/1 to verify server's SSL certificate. (default: yes)
Bugzilla_Product
Product bug field value. Useful if you needed different product than specified in /etc/os-release
Bugzilla_ProductVersion
Version bug field value. Useful if you needed different product version than specified in /etc/os-release
http_proxy
the proxy server to use for HTTP
HTTPS_PROXY
the proxy server to use for HTTPS
SEE ALSO
report_event.conf, bugzilla_format.conf
AUTHORS
o ABRT team
LIBREPORT 2.1.11 06/18/2014 REPORTER-BUGZILLA(1)