/home/documents/files/scooter17.dat
I am trying to cut out everything upto scooter17.dat so that it will only print out the scooter17.dat
any ideas?
great advices will be greatly appreciated.
Thank you
********Updated***************
Thank you for the replys. It works!!... (4 Replies)
cut help needed!!!!!
--------------------------------------------------------------------------------
/home/documents/files/scooter17.dat
I am trying to cut out everything upto scooter17.dat so that it will only print out the scooter17.dat
any ideas?
great advices will be greatly... (1 Reply)
Hi, I'm very new to scripting.
grep $s $filename | awk '{print $2}' | cut -c 1-8
How can I optimize this using a single awk?
I tried:
awk '/$s/ {print $2}' $filename | cut -c 1-8
However didn't work, I think the awk is not recognizing $s and the verbal is something else. (6 Replies)
select some fields from data file (source.csv)
The data in file(source.csv) is like
"x1,2",,"y",,"z"
How to get the 1st, 2nd and 3rd field from the file. Using awk or cut?
Note: "x1,2" is one field.
thanks, (16 Replies)
i was trying to work on program to look for users never log on sever.. using awk
with awk is working
last| awk '{print $1}' |sort -u > /tmp/users1$$
cat /etc/passwd | awk -F: '{print $1}' |sort -u > /tmp/users2$$
comm -13 /tmp/users$$
rm -f /tmp/users$$
with cut it is not working
... (3 Replies)
Hi I'm new to unix programming so struggling with something thats probably simple to many of you
I have data files of the format :
ID, date, value1, value2, blank
on each line either value1 or value2 will be zero. I need my output file to contain
ID, date, non-zero value
The input... (3 Replies)
how would i write a shell script to show the number of lines in which int variable appears in a c++ program.
how would i do this using cut or awk methods is it possbile and having a output similar to this
x, number of apperances =
y, number of apperances = (2 Replies)
I want to use awk instead of cut command.
Following is my code:
line="slNumber=US78AJF11643, slName=USJFKAAUSYDAAUL80441032900095, dummy sl found? sqlca.sqlcode=0"
sl_WORD=`echo $line| cut -f 1 -d','`
sl=`echo $sl_WORD | cut -f 2 -d'='`
echo "$sl"
Please suggest me about the code.
... (5 Replies)
I have this file containing 8 veritcal lines and I need to cut the first two lines into a new file and then cut the next two lines into a new file and so on... any help would be much appreciated. I tried the cut -c but that doesnt work and I am not sure what else to try.
Thanks. (1 Reply)
Hi all.. I have several unique files that contain one thing in common, and that is acct#. For all files in the directory, I want to append the 10 characters following the word "ACCOUNT:" to the end of the filename.
for example:
I have file 111_123 that contains ACCOUNT:ABC1234567
The file... (5 Replies)
Discussion started by: cinderella1
5 Replies
LEARN ABOUT DEBIAN
soap::wsdl::transport::test
SOAP::WSDL::Transport::Test(3pm) User Contributed Perl Documentation SOAP::WSDL::Transport::Test(3pm)NAME
SOAP::WSDL::Transport::Test - Test transport class for SOAP::WSDL
SYNOPSIS
use SOAP::WSDL::Client;
use SOAP::WSDL::Transport::Test;
my $soap = SOAP::WSDL::Client->new()
$soap->get_transport->set_base_dir('.');
$soap->call('method', \%body, \%header);
DESCRIPTION
SOAP::WSDL::Transport::Test is a file-based test transport backend for SOAP::WSDL.
When SOAP::WSDL::Transport::Test is used as transport backend, the reponse is read from a XML file and the request message is discarded.
This is particularly useful for testing SOAP::WSDL plugins.
Filename resolution
SOAP::WSDL::Transport makes up the response XML file name from the SOAPAction of the request. The following filename is used:
base_dir / soap_action .xml
The protocol scheme (e.g. http:) and two heading slashes (//) are stripped from the soap_action.
base_dir defaults to '.'
Examples:
SOAPAction: http://somewhere.over.the.rainbow/webservice/webservice.asmx
Filename: ./somewhere.over.the.rainbow/webservice/webservice.asmx.xml
SOAPAction: uri:MyWickedService/test
Filename: ./MyWickedService/test.xml
METHODS
set_base_dir
Sets the base directory SOAP::WSDL::Transport::Test should look for response files.
LICENSE AND COPYRIGHT
Copyright (c) 2007 Martin Kutter. All rights reserved.
This file is part of SOAP-WSDL. You may distribute/modify it under the same terms as perl itself
AUTHOR
Martin Kutter <martin.kutter fen-net.de>
REPOSITORY INFORMATION
$Rev: 218 $
$LastChangedBy: kutterma $
$Id: HTTP.pm 218 2007-09-10 16:19:23Z kutterma $
$HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Transport/HTTP.pm $
perl v5.10.1 2010-12-21 SOAP::WSDL::Transport::Test(3pm)