Hello Thanks for your reply. I try with the metodes and doesn't work :-(. The result is:
I think the problem is the space in to the origen file:
Sorry in my first message don't appear the spaces (or tabulations) because I put in (Wrap quote). awk is very interesting. I'm read the documentation in this moment.
Last edited by Scrutinizer; 10-03-2012 at 07:01 AM..
Reason: code tags instead of quote tags
I want to find out Row which starts with, the user specified details to a script.
In general I know what command to be given.
awk '$0~/^Vi/' BReject
But I need to pass on $1 param of command line at the place of 'Vi'.
I tried with -v subst=$1
awk -v subst=$1 '$0~/^subst/' BReject
But it... (5 Replies)
i need to seperate values seperated by delimiters and assign it to an array.. can u plz help me on that.
Variables = "asd,rgbh,(,rty,got,),sroe,9034,"
i need to assign the variables into arrays..
like..
var=asd
var=rgbh.. and so on
how do i do this. i need to reuse the values stored in... (6 Replies)
Hi I am new to shell scripting and trying to get values from a text file,
I have a text file with values seperated with "|". like
aga|120220090525|120220090525|120220090525|120220090530
bab|120220090530|120220090530|120220090535|120220090535|120220090535... (4 Replies)
Hello
I need to pass some environment parameters to a datastage job and am getting an error when trying to send the complete concatinated variable. I have decided to parse out just the values and send as parameters but am struggling to find the best way to do this (actually I am not very... (3 Replies)
Hello. I'm trying to delete one character in determinate position.
Example:
qwEtsdf123Ecv34
<delete character in positión 3>
Result:
qwtsdf123Ecv34
Plase, help me.
Thanks (4 Replies)
Hi
Description of input file I have:
-------------------------
1) CSV with double quotes for string fields.
2) Some string fields have Comma as part of field value.
3) Have Duplicate lines
4) Have 200 columns/fields
5) File size is more than 10GB
Description of output file I need:... (4 Replies)
Hello,
I have a tab-delimited table that may contain 11,12 or 13 columns. Depending on the number of columns, I want to cut and get a sub table as shown below. However, the awk commands in the code seem to be an issue. What should I be doing differently?
#cut columns 1-2,4-5,11 when 12 &... (3 Replies)
Hi
what i want:
listing files in a special range
ls -lrt 20120601{05..06}*
...
-rw-rw-r-- 1 imp imp 279 1. Jun 07:51 201206010550
-rw-rw-r-- 1 imp imp 279 1. Jun 07:01 201206010600
-rw-rw-r-- 1 imp imp 279 1. Jun 07:11 201206010610
-rw-rw-r-- 1 imp imp 279 1. Jun 07:21... (1 Reply)
I have a string of source files
ENBL_PX11_LIBSRC = pltsub.f xpltlib.f xbuplot.cI want to replace .f and .c with .o
to get
ENBL_PX11_LIBOBJ = pltsub.o xpltlib.o xbuplot.o
However I am having trouble doing this with subst. (5 Replies)
Hi All,
We have a requirement of picking nth position value by using cut command. value would be delimited by any symbols. We have to pass delimited value and postition to get the value in a string.
ex.
echo "A,B,C,D,E" |cut -d "," -f3
echo "A|B|C|D|E"|cut -d "|" -f2
Kindly frame the... (5 Replies)
Discussion started by: KK230689
5 Replies
LEARN ABOUT DEBIAN
send_gearman
SEND_GEARMAN(8) System Administration Utilities SEND_GEARMAN(8)NAME
send_gearman - Submit active and passive check results to a gearman job server
DESCRIPTION
usage:
send_gearman [ --debug=<lvl> ]
[ --help|-h
]
[ --config=<configfile>
]
[ --server=<server>
]
[ --timeout|-t=<timeout>
]
[ --delimiter|-d=<delimiter>
]
[ --encryption=<yes|no>
]
[ --key=<string>
]
[ --keyfile=<file>
]
[ --host=<hostname>
]
[ --service=<servicename>
]
[ --result_queue=<queue>
]
[ --message|-m=<pluginoutput>
]
[ --returncode|-r=<returncode> ]
for sending active checks:
[ --active
]
[ --starttime=<unixtime>
]
[ --finishtime=<unixtime>
]
[ --latency=<seconds>
]
plugin output is read from stdin unless --message is used. Use this mode when plugin has multiple lines of plugin output.
Note: When using a delimiter (-d) you may also submit one result
for each line. Service Checks: <host_name>[tab]<svc_description>[tab]<return_code>[tab]<plugin_output>[newline]
Host Checks: <host_name>[tab]<return_code>[tab]<plugin_output>[newline]
see README for a detailed explaination of all options.
SEE ALSO
The Mod Gearman documentation is available in /usr/share/doc/mod-gearman/README.html
send_gearman 1.3.6-1 July 2012 SEND_GEARMAN(8)