I have set of sources and the respective resolution. Please advice how to resolve the same using Unix shell scripting.
Source 1:
=======
<ext:ContactInfo xmlns:ext="urn:AOL.FLOWS.Extensions">
<ext:InternetEmailAddress>AOL@AOL.COM</ext:InternetEmailAddress>
</ext:ContactInfo>
Resoultion... (1 Reply)
I have a file with the below data, i would like to remove the end blank lines with no data. I used the below commands but could not able to succeed, could you please shed some light.
Commands Used:
sed '/^$/d' input.txt > output.txt
grep -v '^$' input.txt > output.txt
input.txt file... (5 Replies)
I got a system which was installed with SUNWCXall cluster installed on it and i want remove unwanted software like GMNOME, Java Desktop System, Staroffice and numerous other softwares .. i want to do an automated removal of these packages where its uninstalled by itself ..from the is there any... (4 Replies)
We have a huge makefile composing of inclusion of libraries, objects and system libraries to generate a binary.
How do we find out that which of the libraries we can remove in the most efficient way? Doing hit and trial method is a waste of time and can during the linking with some post linking... (12 Replies)
I have a .xml file, where i need some output. The xml file is like:
Code:
<?******?></ddddd><sssss>234</dfdffsdf><sdhjh>534</dfdfa>.........
/Code
I need the output like:
code
234
534
.
.
.
/code
How can i do it? (5 Replies)
Hello..I have a text file that need to remove unwanted text. This is the original file.
No. Time Source Destination Protocol Info
16 0.649949 10.1.1.101 209.225.11.237 HTTP POST /scripts/cms/xcms.asp HTTP/1.1 ... (9 Replies)
Hi Guys,
Can someone give me a hand on how I can remove unwanted strings like "<Number>" and "</Number>" and retain only the numbers from the input file below.
INPUT FILE:
<Number>10050000</Number>
<Number>1001340001</Number>
<Number>1001750002</Number>
<Number>100750003</Number>... (8 Replies)
I have this Input File with extra double quotes in the middle. Please suggest how to handle this condition.
Input File:
"123985","SAW CUT CONCRETE SLAB 20"THICK",,"98.57","","EACH","N"
"204312","ARMAFLEX-1 3/8 X 3"",,"2.48","","PER FOOT","N"
"205745","MISTING HEAD HOLLOW CONE "C"... (3 Replies)
Hi,
I have a very big file 25GB with information present in it like
$ head ind_stats
update index statistics pfirm001.dbo.Office using 200 values
go
... (11 Replies)
Experts ,
Below is the data:
--- Physical volumes ---
PV Name /dev/dsk/c1t2d0
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 8
PE Size (Mbytes) 8
Total PE 4350
Free PE 2036
Allocated PE 2314
Stale PE 0
IO Timeout (Seconds) default
--- Physical volumes ---... (5 Replies)
Discussion started by: rveri
5 Replies
LEARN ABOUT DEBIAN
event::generic
Event::generic(3pm) User Contributed Perl Documentation Event::generic(3pm)NAME
Event::generic - generic event handling
SYNOPSIS
use Event::generic;
$source = Event::generic::Source->new;
$w = Event->generic(source => $source, ...);
$w = $source->watch(...);
$source = $w->source;
$w->source($source);
$source->event;
$source->event($data);
$data = $event->data;
DESCRIPTION
This module provides a watcher type within the "Event" framework. You must understand the architecture of the "Event" system in order to
understand this document.
This module provides a system of reified event sources and watchers watching those sources. Events are generated solely by a method on the
event source object. The events may carry arbitrary data to the event handler callbacks. This module is intended for situations where the
events of interest are best determined by Perl code.
CLASSES
Event::generic::Source
A reified event source.
Event::generic
A watcher that can watch "Event::generic::Source" event sources.
Event::Event::Dataful
A (target) event that can carry arbitrary data.
EVENT SOURCE CLASS
Constructor
Event::generic::Source->new
Creates and returns a new event source.
Methods
$source->event
$source->event(DATA)
The invocation of this method is a source event for watchers of the event source. When this method is called, each active watcher of
the event source generates a target event. The DATA, if supplied, is copied into the target event objects, from which it can be
retrieved using the "data()" method.
$source->watch(ATTR => VALUE, ...)
Generates and returns a new watcher, configured to watch this event source. The standard watcher attributes may be specified as
arguments. The watcher returned is an ordinary "Event::generic", and may be reconfigured to watch a different event source.
WATCHER CLASS
Type-specific attributes
source => $source
The event source to watch. This must be either an "Event::generic::Source" object or "undef". When set to "undef", no source is being
watched, and the watcher cannot be started.
EVENT CLASS
Type-specific methods
$event->data
Returns the data associated with the event, which may be any scalar. This is read-only, and is set by the event source.
SEE ALSO
Event
perl v5.14.2 2007-05-22 Event::generic(3pm)