Hi All,
I'm trying to use sed to extract data within a String, but I'm having problems with sed command:
Text:
STATUS OSRC_R6_0_MENT_R1H_CU M_901662 R1H_LV1_20080313
Based from the Text above, I just need to extract this data
R6_0
R1H_CU
LV1
Is there a solution for this in... (1 Reply)
I have 2 pattern of lines (SQL query and Time taken)in a log i need to capture all SQL queries with time taken >20 sec and need to display as one line.
2 lines from log:
2007-10-23 11:39:17,061 DEBUG - SQL Query : SELECT A.GROUP_CD , C.FN_CD FROM UP_GROUP A , PRD_GROUP_TO_FN B , PRD_FN... (1 Reply)
Hi all ,
Recently i came across this in FAQ's.
I have a file
cat rem.txt
sreedhar 20
sreedhar 10
sreedhar 15
sreedhar 18
sreedhar 16
sreedhar 30
I have to replace sreedhar with "Sridhar" if the second parameter is > 18.
I need to do it in "sed" only. I am wondering how this... (4 Replies)
Hi
Im running this command on AIX in ksh.
My input file samp1 contains
1
2
123
12345
When I execute the following sed i dont get a matching pattern
sed -n '/{1}/p' samp1
Can anyone help me with this simple thing (3 Replies)
Hello
I want to compare values of two variables as CHECK condition in a while loop.
eg:
var1=0
var2=10
while
do
echo " $var1 "
var1=`expr $var1 + 1`
done
However this is giving error.How to do it in a proper manner?
Thanks. (3 Replies)
Hi,
I have a file in the following format
"SYLVESTER,WILLARD G"|"S00633600"|"221052958A"|"H2256"|"015"|""|"00000042BASJ"|"665303"|"N"|"20100211"|"380.4"|""|""|""|"5400"|"20110218"|""|"20110218"|"FEESC"|"D"|"F"|"P"
"PURINGTON-KELLEY,C"|"S00808783"|"029424717A"|"H2256"|"024"|"MEMBER JOINED... (3 Replies)
Hi
I am having a csv file like this
ahsh,90.82,add,32424,ahha
hhdh,98.89,hdhdh,92728,neha
hshs,you,97.7,hdhdhd,are,a
jsjsj,wonderful,9788,79.9,aheh
ahdh,95.5,girl, 2737,jolllI need to add width="100" to the value which is greater than 90 like decimal points but less than 100
Output... (5 Replies)
Hi,
I Have to check two condition in while loop every 2 minutes. while loop is accompanied with number of times it will check.Please help in putting the two condition in while loop as appropriate.
z= input value,
A=1
while
do
1.check the file output,if the file output is N then keep on... (2 Replies)
Discussion started by: netdbaind
2 Replies
LEARN ABOUT DEBIAN
gearadmin
GEARADMIN(1) Gearmand GEARADMIN(1)NAME
gearadmin - Gearmand Documentation, http://gearman.info/
Run Administrative commands against a server.
SYNOPSIS --help Provice help about the program.
--create-function
Create a function from the server.
-h [ --host ] arg (=localhost)i
Connect to the host
-p [ --port ] arg (=4730)
Port number or service to use for connection
--drop-function
Drop a function from the server.
--server-version
Fetch the version number for the server.
--server-verbose
Fetch the verbose setting for the server.
--status
Status for the server.
--workers
Workers for the server.
--shutdown
Shutdown server.
DESCRIPTION
Command line tool for manipulating gearmand servers.
HOME
To find out more information please check: http://gearman.info/
SEE ALSO gearmand(8)libgearman(3)AUTHOR
Data Differential http://www.datadifferential.com/
COPYRIGHT
2012, Data Differential, http://www.datadifferential.com/
0.33 May 04, 2012 GEARADMIN(1)