Hi people
A newbie here, thrown into the deep end. I want to select the group of files with in a range of dates and perform some operation on it. Are there inbuild date libraries i can use?
I did read thru the old posts on this topic. Couldnt get much idea :(, basically want to know how I... (7 Replies)
Hi
I want to search multiple strings in a file . But the search should start with "From" Keyword and end with before "Where" keyword.
Please suggest me.
Thanks (2 Replies)
hi All,
need help. have a file like below
A, error in 123
B, log files are present
A, error in 23444
B, log files are present
A, move to next line
C, matching messages
-- expected output--
A , count =2 , error in *
A , count =1 , move to next line
B , count =2 , log files are present... (2 Replies)
Hi,
Currently I am working on a script to automate the process of converting the log file from binary into text format. To achieve this, partly I am depending on my application’s utility for this conversion and the rest I am relying on shell commands to search for directory, locate the file and... (5 Replies)
Hello I would like to ask for help with a script to search a directory that contains many log files and based on a users input after being prompted, they enter a date range down to the hour which searches the files that contain that range.
I dont know how to go about this. I am hoping that the... (5 Replies)
Hi,
I have a file filled with search strings which have a blank in between and look like this:
S. g. Ehr.
o. Jg.
v. d. Chijs
g. Ehr.
Now i would like to search for the strings and it also shall return the next column after the match.
awk -v FILE="search_strings.txt" 'BEGIN {... (10 Replies)
I have a list of files all over a file system e.g.
/home/1/foo/bar.x
/www/sites/moose/foo.txtI'm looking for strings in these files and want to replace each occurrence with a replacement string, e.g.
if I find: '#@!^\&@ in any of the files I want to replace it with: 655#@11, etc.
There... (2 Replies)
Based on the forums i have tried with grep command but i am unable to get the required output.
search this value /*------
If that is found then search for temp_vul and print
and also search until /*------- and print new_vul
Input file contains:
... (5 Replies)
I'm trying to find a way to search a range of similar words in a file. I tried using sed but can't get it right:sed 's/\(ca01\)*//'It only removes "ca01" but leaves the rest of the word. I still want the rest of the information on the lines just not these specific words listed below. Any... (3 Replies)
Discussion started by: seekryts15
3 Replies
LEARN ABOUT DEBIAN
gstreamer::event
GStreamer::Event(3pm) User Contributed Perl Documentation GStreamer::Event(3pm)NAME
GStreamer::Event - Structure describing events that are passed up and down a pipeline
DESCRIPTION
The various event types are represented as subclasses:
GStreamer::Event::FlushStart
GStreamer::Event::FlushStop
GStreamer::Event::EOS
GStreamer::Event::NewSegment
GStreamer::Event::Tag
GStreamer::Event::BufferSize
GStreamer::Event::QOS
GStreamer::Event::Seek
GStreamer::Event::Navigation
GStreamer::Event::Custom::UP
GStreamer::Event::Custom::DS
GStreamer::Event::Custom::DS::OOB
GStreamer::Event::Custom::Both
GStreamer::Event::Custom::Both::OOB
To create a new event, you call the constructor of the corresponding class.
To check if an event is of a certain type, use the type method:
if ($event -> type eq "newsegment") {
# ...
}
elsif ($event -> type eq "eos") {
# ...
}
To get to the content of an event, call the corresponding accessor:
if ($event -> type eq "newsegment") {
my $update = $event -> update;
my $rate = $event -> rate;
my $format = $event -> format;
my $start_value = $event -> start_value;
my $stop_value = $event -> stop_value;
my $stream_time = $event -> stream_time;
# ...
}
elsif ($event -> type eq "tag") {
my $tag = $event -> tag;
# ...
}
METHODS
structure = $event->get_structure
eventtype = $event->type
ENUMS AND FLAGS
enum GStreamer::EventType
o 'unknown' / 'GST_EVENT_UNKNOWN'
o 'flush-start' / 'GST_EVENT_FLUSH_START'
o 'flush-stop' / 'GST_EVENT_FLUSH_STOP'
o 'eos' / 'GST_EVENT_EOS'
o 'newsegment' / 'GST_EVENT_NEWSEGMENT'
o 'tag' / 'GST_EVENT_TAG'
o 'buffersize' / 'GST_EVENT_BUFFERSIZE'
o 'sink-message' / 'GST_EVENT_SINK_MESSAGE'
o 'qos' / 'GST_EVENT_QOS'
o 'seek' / 'GST_EVENT_SEEK'
o 'navigation' / 'GST_EVENT_NAVIGATION'
o 'latency' / 'GST_EVENT_LATENCY'
o 'step' / 'GST_EVENT_STEP'
o 'custom-upstream' / 'GST_EVENT_CUSTOM_UPSTREAM'
o 'custom-downstream' / 'GST_EVENT_CUSTOM_DOWNSTREAM'
o 'custom-downstream-oob' / 'GST_EVENT_CUSTOM_DOWNSTREAM_OOB'
o 'custom-both' / 'GST_EVENT_CUSTOM_BOTH'
o 'custom-both-oob' / 'GST_EVENT_CUSTOM_BOTH_OOB'
SEE ALSO
GStreamer
COPYRIGHT
Copyright (C) 2005-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See GStreamer for a full notice.
perl v5.14.2 2012-03-01 GStreamer::Event(3pm)