Hi all,
I have an input file that I am pulling out certain phases using the following commands:
cat /nodes.txt | egrep -e 'OSVersion|PrimaryNodeName'
Currently the output looks like this:
OSVersion - 5.0
PrimaryNodeName - serverA
OSVersion - 5.0
PrimaryNodeName - serverB
OSVersion... (2 Replies)
:)Hi Friends,
I have certain log files extracted. I want it to be converted in pipe ( | ) delimited file. How do i do it?
E.g.
Account Balance : 123456789 Rs O/P (Account Balance: | 123456789 Rs)
Account Balance (Last) > 987654321 Rs O/P (Account Balance (Last) | 987654321 Rs)
Last... (5 Replies)
Hi,
I came across a very good script to convert a comma seperated to pipe delimited file in this forum. the script serves most of the requirement but looks like it does not handle embedded double quotes and commas i.e if the input is like
1234, "value","first,second", "LDC5"monitor",... (15 Replies)
All,
I am trying to run a command that will get the serial number, model, and hostname of a server and then output the 3 fields comma delimited.
Then a new line to separate the 3 fields for each host.
So, I run a for loop that reads in the list of hosts in a file and then runs these sudo... (0 Replies)
Hi All,
i have the following command
df|awk '{print $5}'|grep /| egrep -v '^/$|/usr|/opt|/var/log|/home|/tmp'
output looks like:
/filesystem/number1
/filesystem/number2
/filesystem3
/possiblymoreoutput
i want the output to look like the below (either in a file or to output to... (3 Replies)
Hi All,
I need a unix script to convert .csv files to .skv files (changing a comma delimited file to a semi colon delimited file). I am a unix newbie and so don't know where to start. The script will be scheduled using cron and needs to convert each .csv file in a particular folder to a .skv... (4 Replies)
Hi,
I am trying to search for a string in a file and print all the matched lines as pipe delimited format.
My command is
cat m_gid_trans.XML|grep -i '<TABLEATTRIBUTE NAME ="Lookup cache directory name"'
The output I am getting is
<TABLEATTRIBUTE NAME ="Lookup cache directory name"... (4 Replies)
Hello ppl
I have a requirement to split (cut in unix) a file (A.txt) which is a pipe delimited file into A1.txt and A2.txt
Now I have to join (paste in unix) this A2.txt with external file A3.txt to form
output file A4.txt which should be CSV (comma separated file) so that third party can... (25 Replies)
I have file in linux with comma delimited and string fields in double quotations ", I need to convert them to pipe delimiter please share your inputs.
Example:
Input:
"2017-09-30","ACBD,TVF","01234",NULL,18,NULL,"686091802","BANK OF ABCD, LIMITED, THE",790456
Output:
... (4 Replies)
Since output of w command have variable number of columns I want to get the output in pipe delimited format. I tried
export OFS="|"; w
but that does not work.
Any ideas? (4 Replies)
Discussion started by: Soham
4 Replies
LEARN ABOUT DEBIAN
www::finger
WWW::Finger(3pm) User Contributed Perl Documentation WWW::Finger(3pm)NAME
WWW::Finger - get useful data from e-mail addresses
SYNOPSIS
use WWW::Finger;
my $finger = WWW::Finger->new("joe@example.com");
if (defined $finger)
{
print $finger->name . "
";
}
DESCRIPTION
This module is not an implementation of the finger protocol (RFC 1288). Use Net::Finger for that. Instead it is a set of implementations
of other methods for getting information from an e-mail address, or e-mail like identifier. This package includes four such
implementations, and it's pretty easy to create your own additional implementations:
o WebFinger
o Fingerpoint
o MetaCPAN API for cpan.org addresses
o Unnamed finger protocol described on bitworking.org
Constructor
o "new"
$finger = WWW::Finger->new($identifier);
Creates a WWW::Finger object for a particular identifier. Will return undef if no implemetation is able to handle the identifier
Object Methods
Any of these methods can return undef if the appropriate information is not available. The "name", "mbox", "homepage", "weblog", "image"
and "key" methods work in both scalar and list context. Depending on which implementation was used by "WWW::Finger->new", the object may
also have additional methods. Consult the documentation of the various implementations for details.
"name"
The person's name (or handle/nickname).
"mbox"
The person's e-mail address (including "mailto:").
"homepage"
The person's personal homepage.
"weblog"
The person's blog. (There may be some overlap with "homepage".)
"image"
An avatar, photo or other image depicting the person.
"key"
The URL of the person's GPG/PGP public key.
"webid"
A URI uniquely identifying the person. See <http://esw.w3.org/topic/WebID>.
"endpoint"
A SPARQL Protocol endpoint which may provide additional data about the person. (See RDF::Query::Client.)
"graph"
An RDF::Trine::Model object holding data about the person. (See RDF::Trine.)
SEE ALSO
Net::Finger.
<http://code.google.com/p/webfinger/>.
<http://buzzword.org.uk/2009/fingerpoint/spec>.
<http://www.perlrdf.org/>.
fingerw.
AUTHOR
Toby Inkster, <tobyink@cpan.org>
COPYRIGHT AND LICENCE
Copyright (C) 2009-2012 by Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
perl v5.14.2 2012-02-23 WWW::Finger(3pm)