7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
My input is:
a.txt computer
b.txt
c.txt
e.txt
I want my output to be:
a.txt computer
b.txt computer
c.txt computer
e.txt computer
There are about 100000 text files having the same format as my input data. What I am doing now is too slow and also requires plenty of scripts.
1. wc -l all... (3 Replies)
Discussion started by: shoaibjameel123
3 Replies
2. Shell Programming and Scripting
Hi Guys,
is there any way to sort a files from excel in shell?
$cat file1
asa003 hekk
asa341 no more
asa012 try a d g
asa001 a
asa111 this is just a sample for long string
Desire output:
asa001 a
asa003 hekk
asa012 try a d g
asa111 this is just a sample for long string
asa341... (5 Replies)
Discussion started by: kenshinhimura
5 Replies
3. Programming
I would like to seek help on my LED REST API. I have finished constructed my basic REST API for my Raspberry PI. What I'm trying to do now is allow my LED to light up whenever I key localhost:3000/7/1 and key localhost:3000/7/0 to switch off. But my problem now is my REST API can't works and hope... (0 Replies)
Discussion started by: aoiregion
0 Replies
4. Solaris
Hi
When I installed opensolaris, I installed it on a 20GB partition. How do I make use of the other 300GB I have spare?
format shows:-
-bash-3.2# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c3d0 <DEFAULT cyl 2607 alt 2 hd 255 sec 63>
... (12 Replies)
Discussion started by: hellotommy
12 Replies
5. UNIX for Advanced & Expert Users
Hi, can anyone please answer my question in deleting the rest of the line. I have an example below of a file contaning:
Serial3/1.5 43.70.195.13 YES NVRAM down down
Serial3/3 225.94.155.69 YES NVRAM up down
Serial3/6 ... (3 Replies)
Discussion started by: Aejaz
3 Replies
6. Shell Programming and Scripting
Hi All,
Can you please tell me how to identify a 0kb file from a list a files and redirect only those files to a .txt file.
ls -l shows me all the 0kb files...but how to redirect only those files..
Thanks for ur help,
Kumar (3 Replies)
Discussion started by: kumarsaravana_s
3 Replies
7. Shell Programming and Scripting
Hi all,
I'm stuck on this last part...am running a simple script under AIX to extract NetView host IP addresses. The line below returns the IP address in parenthesis with a trailing colon, i.e.
ping -c 1 $name |grep \( | awk '{ print $3 }' --------> returns
(a.b.c.d):
How can I only... (10 Replies)
Discussion started by: livinthedream
10 Replies
SOAP::WSDL::Expat::MessageStreamParser(3pm) User Contributed Perl Documentation SOAP::WSDL::Expat::MessageStreamParser(3pm)
NAME
SOAP::WSDL::Expat::MessageStreamParser - Convert SOAP messages to custom object trees
SYNOPSIS
my $lwp = LWP::UserAgent->new();
my $parser = SOAP::WSDL::Expat::MessageParser->new({
class_resolver => 'My::Resolver'
});
my $chunk_parser = $parser->init();
# process response while it comes in, trying to read 32k chunks.
$lwp->request( $request, sub { $chunk_parser->parse_more($_[0]) } , 32468 );
$chunk_parser->parse_done();
my $obj = $parser->get_data();
DESCRIPTION
ExpatNB based parser for parsing huge documents.
See SOAP::WSDL::Manual::Parser for details.
Bugs and Limitations
See SOAP::WSDL::Expat::MessageParser
AUTHOR
Martin Kutter <martin.kutter fen-net.de>
LICENSE AND COPYRIGHT
Copyright 2007 Martin Kutter.
This file is part of SOAP-WSDL. You may distribute/modify it under the same terms as perl itself
REPOSITORY INFORMATION
$Rev: 851 $
$LastChangedBy: kutterma $
$Id: MessageStreamParser.pm 851 2009-05-15 22:45:18Z kutterma $
$HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Expat/MessageStreamParser.pm $
perl v5.10.1 2010-12-21 SOAP::WSDL::Expat::MessageStreamParser(3pm)