Hi,
I want to grep the line which has 'data11'.then from that line, i need to trace back and find out the immediate line which has the same timestamp of that grepped line.
for eg:
log file:
-----------
Process - data
Process - datavalue - 2345
Process - data
Process - data
Process... (9 Replies)
I am trying to pull certain pieces of data out of a line of a file that matches a certain pattern:
The three pieces that I want to pull out of this line are the only occurrences of that pattern within the line, but the rest of the line is not consistent in each file. Basically the line is... (3 Replies)
I have the following text format in a file which lists the question first and then 5 choices
after that the explanantion and finally the answer.
1.The amount of time it takes for most of a worker’s occupational knowledge and skills to become
obsolete has been declining because of the... (2 Replies)
Hi All,
I am stuck for quite sometime now. Below is a line in my file -
GS|ED|001075|001081|20110626|1806|100803|X|004010ST|130|100803001
This line occurs only once and it is the second line.
I have to break this line into two lines from ST (bold) such that it looks like -... (5 Replies)
Hello every,
I am stuck in a problem. I have file like this. I want to add the fifth field of the match pattern line above the lines starting with "# @D". The delimiter is "|"
eg
>
# @D0.00016870300|0.05501020000|12876|12934|3||Qp||Pleistocene||"3 Qp Pleistocene"|Q
# @P... (5 Replies)
I have a log file as given below
012/01/21 10:29:02 (111111) Processing Job '23_369468343464564'
2012/01/21 10:29:02 (111111)
Making Job '23_369468343464564.0'...
2012/01/21 10:29:04 (111111)
Jobnumber '23_369468343464564' was successful
2012/01/21 10:29:04 ... (12 Replies)
Hello Friends,
I need to print lines in between two string when a keyword existed in those lines (keywords like exception, error, failed, not started etc).
for example,
input:
..
Begin Edr
ab12
ac13
ad14
bc23
exception occured
bd24
cd34
dd44
ee55
ff66
End Edr (2 Replies)
Hi I want to print the line until pattern is matched.
I am using below code:
sed -n '1,/pattern / p' file
It is working fine for me , but its not working for exact match.
sed -n '1,/^LAC$/ p' file
Input:
LACC FEGHRA 0
LACC FACAF 0
LACC DARA 0
LACC TALAC 0
LAC ILACTC 0... (8 Replies)
Hello,
I have below format log file,
Comparing csv_converted_files/2201/9747.1012H67126.5077292103609547345.csv and csv_converted_files/22019/97447.1012H67126.5077292103609547345.csv
Comparing csv_converted_files/2559/9447.1012H67126.5077292103609547345.csv and... (6 Replies)
Hi All,
i want to write a shell script read below file line by line and want to exclude the lines which contains empty value for MOUNTPOINT field.
i am using centos 7 Operating system.
want to read below file.
# cat /tmp/d5
NAME="/dev/sda" TYPE="disk" SIZE="60G" OWNER="root"... (4 Replies)
Discussion started by: balu1234
4 Replies
LEARN ABOUT HPUX
xchangepointercontrol
XChangePointerControl() XChangePointerControl()
Name
XChangePointerControl - change the pointer preferences.
Synopsis
XChangePointerControl(display, do_accel, do_threshold, accel_numerator, accel_denominator, threshold)
Display *display;
Bool do_accel, do_threshold;
int accel_numerator, accel_denominator;
int threshold;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
do_accel Specifies a boolean value that controls whether the values for the accel_numerator or accel_denominator are set. You can pass
one of these constants: True or False.
do_threshold
Specifies a boolean value that controls whether the value for the threshold is set. You can pass one of these constants: True
or False.
accel_numerator
Specifies the numerator for the acceleration multiplier.
accel_denominator
Specifies the denominator for the acceleration multiplier.
threshold Specifies the acceleration threshold. True or False.
Description
XChangePointerControl() defines how the pointing device functions. The acceleration is a fraction (accel_numerator/accel_denominator)
which specifies how many times faster than normal the sprite on the screen moves for a given pointer movement. Acceleration takes effect
only when a particular pointer motion is greater than threshold pixels at once, and only applies to the motion beyond threshold pixels.
The values for do_accel and do_threshold must be True for the pointer values to be set; otherwise, the parameters will be unchanged. Set-
ting any of the last three arguments to -1 restores the default for that argument.
The fraction may be rounded arbitrarily by the server.
Errors
BadValue accel_denominator is 0.
Negative value for do_accel or do_threshold.
See Also
XChangeActivePointerGrab(), XGetPointerControl(), XGetPointerMapping(), XGrabPointer(), XQueryPointer(), XSetPointerMapping(), XUngrab-
Pointer(), XWarpPointer().
Xlib - Pointers XChangePointerControl()