Thank you for your kind now code is working, one more thing if I make all the row with "center tag" to bold
with this tag
where can I put this tag? then the output will look like this:
Hi - not sure if this is the correct forum but maybe you can help all the same.
I have an ascii file on my server that I log events to..
I have samba and apache running on this server also - although I am not currently using them and have just started them up. They both appear fine so far.
I... (5 Replies)
I have a html file called myfile. If I simply put "cat myfile.html" in UNIX, it shows all the html tags like <a href=r/26><img src="http://www>. But I want to extract only text part.
Same problem happens in "type" command in MS-DOS.
I know you can do it by opening it in Internet Explorer,... (4 Replies)
I am trying to generate a report with below file :
File1 :
EQADM,edrtere9-phys,8122caef0,gpatmon,/bin/ksh,nuten Erick
EQADM,edrtere11-phys,8227caef0,gpatmon,/bin/ksh,nuten Erick
EQADM,edrtere3-phys,822caef0,gpatmon,/bin/ksh,nuten Erick
can you help me convert it to html and add... (9 Replies)
is there anyway i can paste/cat a text file into a html paragraph <p>
function html_header
{
cat <<END
<html>
<head><title>${1}</title></head>
<body>
<p>
${2}
</p>
END
}
function html_footer
{
cat <<END
</body>
</html>
END (2 Replies)
I have a short time to solve a problem, so I need some help. I've searched the forum, but I couldn't find a solution to my problem.
I made a script to filter some text and now I have a new requirement to make it available as html table. Problem is that I more than one files with different set... (2 Replies)
Hi,
I have written a perl script to dispaly some statements from a file but i want the output statements to be dispalyed in an HTML format.Is it possible for me to do in perl scripting?
Please help me with ur thoughts.
Thanks In Advance
Meva. (1 Reply)
I have a bash script to output the contents of a text file to html. Everything outputs ok, except this:
######################################################################
# #
# PRIVATE/PROPRIETARY #
# #
# ANY UNAUTHORIZED ACCESS TO, OR MISUSE OF ABC COMPANY #
# SYSTEMS OR DATA MAY... (2 Replies)
Hi,
I have one file as follows and I need to read this file contents in an HTML format. And send html file to some mail ids using sendmail.
Communications Pvt Ltd
Report
AccountId Name Code IdBill Balance ... (3 Replies)
Please provide script/commands to convert text file to HTML tabular format.
No need of styles and colours, just output and a heading in table is required.
Output file will be send via email and will be seen from outlook.
(script required without using awk).
output file content: (sar... (7 Replies)
Hello Everyone,
I have a sample file raw.txt as shown below :
Drive Bays
Bay Name : SD-2C
Number of Standby Power Supplies : 4
Number of Drive Enclosures : 12
Summary Status of Contained Modules
All... (6 Replies)
Discussion started by: rahul2662
6 Replies
LEARN ABOUT OSX
ip::country::maxmind
IP::Country::MaxMind(3) User Contributed Perl Documentation IP::Country::MaxMind(3)NAME
IP::Country::MaxMind - Look up country by IP Address
SYNOPSIS
use IP::Country::MaxMind;
my $gi = IP::Country::MaxMind->new(GEOIP_STANDARD);
# look up IP address '65.15.30.247'
# returns undef if country is unallocated, or not defined in our database
my $cc1 = $gi->inet_atocc('65.15.30.247');
my $cc2 = $gi->inet_atocc('yahoo.com');
DESCRIPTION
This module adapts the Geo::IP module to use the same interface as the IP::Country modules; thus allowing users to easily switch between
using the two underlying databases.
DATABASE UPDATES
Free monthly updates to the database are available from
http://www.maxmind.com/download/geoip/database/
If you require greater accuracy, MaxMind offers a Premium database on a paid subscription basis.
The author of this module is in no way associated with MaxMind.
CLASS METHODS
$gi = IP::Country::MaxMind->new( $flags );
Constructs a new IP::Country::MaxMind object with the default database located inside your system's datadir, typically
/usr/local/share/GeoIP/GeoIP.dat.
Flags can be set to either GEOIP_STANDARD, or for faster performance (at a cost of using more memory), GEOIP_MEMORY_CACHE. When using
memory cache you can force a reload if the file is updated by setting GEOIP_CHECK_CACHE.
$gi = IP::Country::MaxMind->open( $database_filename, $flags );
Constructs a new Geo::IP object with the database located at $database_filename.
OBJECT METHODS
All object methods are designed to be used in an object-oriented fashion.
$result = $object->foo_method($bar,$baz);
Using the module in a procedural fashion (without the arrow syntax) won't work.
$cc = $gi->inet_atocc(HOSTNAME)
Takes a string giving the name of a host, and translates that to an two-letter country code. Takes arguments of both the 'rtfm.mit.edu'
type and '18.181.0.24'. If the host name cannot be resolved, returns undef. If the resolved IP address is not contained within the
database, returns undef.
$cc = $gi->inet_ntocc(IP_ADDRESS)
Takes a string (an opaque string as returned by Socket::inet_aton()) and translates it into a two-letter country code. If the IP
address is not contained within the database, returns undef.
$cc = $gi->db_time()
Returns zero. For compatibility only.
COPYRIGHT
Copyright (C) 2002,2003 Nigel Wetters Gourlay. All Rights Reserved.
NO WARRANTY. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.16.2 2006-04-06 IP::Country::MaxMind(3)