Let us know expected output for given input, show mathematically, for given sample I think you can't generate even a single BP value using linear interpolation , we can't see even a single upper bp value in data2 for any one of bp values in data1
How to emulate grep -o option in perl.
I mean to print not all line, only the exact match.
echo "2A2 BB" | perl -ne 'print if /2A2/'
2A2 BB
I want to print only 2A2. (2 Replies)
I am trying to match a pattern exactly in a shell script. I have tried two methods
awk '/\<mpath${CURR_MP}\>/{print $1 $2}' multipath
perl -ne '/\bmpath${CURR_MP}\b/ and print' /var/tmp/multipath
Both these methods require that I use the escape character. I am guessing that is why... (8 Replies)
Hi,
I have a file like follows
.
.
.
White.Jack.is.going.home
Black.Jack.is.going.home
Red.Jack.is.going.home
Jack.is.going.home
.
.
.
when I make:
cat <file> | grep -w "Jack.is.going.home"
it gives:
White.Jack.is.going.home
Black.Jack.is.going.home
Red.Jack.is.going.home... (4 Replies)
Hi
This time I'm trying to grep for an exact match
e.g
cat.dog.horse.cow.bird.pig
horse.dog.pig
pig.cat.horse.dog
horse
dog
dog
pig.dog
pig.dog.bird
how do I grep for dog only so that a wc -l would result 2 in above case.
Thanks in advance
---------- Post updated at 06:33 AM... (4 Replies)
Hi friends,
i am using the following grep command for exact word match:
>echo "sachin#tendulkar" | grep -iw "sachin"
output: sachin#tendulkar
as we can see in the above example that its throwinng the exact match(which is not the case as the keyword is sachin and string is... (6 Replies)
file
11 2
12 6
13 7
114 6
011 7
if I'm searching for 11, output needed is
output:
11 2
011 7
Code: awk '$1 ~ /^11$/' file
I used the above to match exact, but it avoiding "011 7" line too, how to resolve this? (6 Replies)
I would like replace all the rows in a file if a row has an exact match to number say 21 in a tab delimited file. I want to delete the row only if it has 21 any of the rows but it should not delecte the row that has 542178 or 563421.
I tried this
sed '/\<21\>/d' ./inputfile > output.txt
... (7 Replies)
Hi guys, I am using Centos 6.3. Actually I posted similar question but I still have some minor problem need be fixed. I have two files,
file1:target: gi|57529786|ref|NM_001006513.1| mfe: -31.4 kcal/mol p-value: 0.006985
target: gi|403048743|ref|NM_001271159.1| mfe: -29.6 kcal/mol p-value:... (11 Replies)
Hi All,
My Input file contains a 1000’s of lines in which I have to replace a
a string to the other. Here the problem is, I have the lines in my Input as below.
Cable Yes && !Pay TV && !ADS
\noUE \Label="Cable Yes && !Pay TV && !ADS"
I want to replace exactly the string Cable Yes &&... (37 Replies)
I am trying to create a cronjob that will run on startup that will look at a list.txt file to see if there is a later version of a database using database.txt as the source. The matching lines are written to output.
$1 in database.txt will be in list.txt as a partial match. $2 of database.txt... (2 Replies)
Discussion started by: cmccabe
2 Replies
LEARN ABOUT DEBIAN
aumonitornotifyevent
AuMonitorNotifyEvent(3) Library Functions Manual AuMonitorNotifyEvent(3)Name
AuMonitorNotifyEvent - monitor notify event structure
Structures
#include <audio/audiolib.h>
typedef union _AuEvent
{
. . .
AuMonitorNotifyEvent aumonitornotify;
. . .
}AuEvent;
typedef struct _AuMonitorNotifyEvent
{
int type;
AuUint32 serial;
AuBool send_event;
AuServer *server;
AuTime time;
AuFlowID flow;
unsigned char element_num;
unsigned char format;
unsigned char num_tracks;
unsigned short count;
unsigned short num_fields;
AuUint32 data;
AuUint32 data1;
AuUint32 data2;
}AuMonitorNotifyEvent;
Members
type The event type. MonitorNotify events are type AuEventTypeMonitorNotify.
serial The serial ID of the event expanded from the 16 bit value sent by the server.
send_event
AuTrue if the event came from a SendEvent protocol request.
server The connection to the audio server that the event was read from.
time The server time in milliseconds when the event was generated.
flow Specifies the ID of the flow that caused the event.
element_num
The index of the ExportMonitor element that gnerated this event.
format The format of the monitor data. Currently, the following formats are defined: AuFormatULAW8, AuFormatLinearUnsigned8, AuFormat-
LinearSigned8, AuFormatLinearSigned16MSB, AuFormatLinearUnsigned16MSB, AuFormatSignedLinear16LSB, and AuFormatLinearUn-
signed16LSB. Taken from the ExportMonitor element.
num_tracks
The number of tracks in the monitor data. Taken from the ExportMonitor element.
count Always 0.
num_fields
Always 2.
data Monitor data.
data1 Monitor data.
data2 Monitor data.
Description
MonitorNotify events will be sent to clients with flows containing ExportMonitor elements.
See Also
AuAnyEvent, AuElementNotifyEvent, AuErrorEvent, AuGrabNotifyEvent.
audiolib - Network Audio System C Language Interface
audiolib - events 1.9.3 AuMonitorNotifyEvent(3)