04-11-2014
but also other tables are included in the line.. so I need the one with
class="tableinfo"
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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)
Discussion started by: los111
4 Replies
2. Shell Programming and Scripting
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)
Discussion started by: tetreb
2 Replies
3. Shell Programming and Scripting
Hi,
I have a text file say file1 having data like
ABC c:/hm/new1 Dir
DEF d:/ner/d sd
......
So i want to make a table from this text file, is it possible to do it using perl.
Thanks in advance
Sarbjit (1 Reply)
Discussion started by: sarbjit
1 Replies
4. Shell Programming and Scripting
Hi,
I have script which generates the output as below:
Jobname Date Time Status
abc 12/9/11 17:00 Completed
xyz 13/9/11 21:00 Running
I have the output as a text file. I need to convert it into a HTML Table and sent it thru email
... (6 Replies)
Discussion started by: a12ka4
6 Replies
5. Shell Programming and Scripting
I have bash, awk, and sed available on my portable device. I need to extract 10 fields from each table row from a web page that looks like this:
</tr>
<tr>
<td>28 Apr</td>
<td><a... (6 Replies)
Discussion started by: rickgtx
6 Replies
6. Shell Programming and Scripting
Hi. I need to create html table from file which contains data. No awk please :) In example,
->cat file
num1 num2 num3
23 3 5
2 3 4 (between numbers and words single TAB).
after running mycode i need to get (heading is the first line):
<table>... (2 Replies)
Discussion started by: Manu1234567
2 Replies
7. Shell Programming and Scripting
Hi ,
I need an help in perl scripting.
I have an perl script written and i have an for loop in that ,where as it writes some data to a file and it has details like below.
cat out.txt
This is the first line
this is the second line.
.....Now, this file needs to be send in mail in HTML... (2 Replies)
Discussion started by: scott_cog
2 Replies
8. UNIX for Dummies Questions & Answers
Hi all
I need help converting a text file into a html table in bash and I need to email this table. The text file looks like the below. Two columns with multiple rows. Top row being header.
Application Name Application Status
Application 1 Open
Application 2 ... (2 Replies)
Discussion started by: hitmanjd
2 Replies
9. Linux
Hi all,
Is there any out there have a brilliant idea on how to export html table data as .csv or write to txt file with separated comma and also get the filename of link from every table and put one line per rows each table.
Please see the attached html and PNG of what it looks like.
... (7 Replies)
Discussion started by: lxdorney
7 Replies
10. Shell Programming and Scripting
My concnern related to the post
-Convert shell script output txt file to html table,
in this how to print the heading as color.
awk 'BEGIN{print "<table>"} {print "<tr>";for(i=1;i<=NF;i++)print "<td>" $i"</td>";print "</tr>"} END{print "</table>"}' <filename> (8 Replies)
Discussion started by: sarajobmai
8 Replies
LEARN ABOUT DEBIAN
font::ttf::kern
Font::TTF::Kern(3pm) User Contributed Perl Documentation Font::TTF::Kern(3pm)
NAME
Font::TTF::Kern - Kerning tables
DESCRIPTION
Kerning tables are held as an ordered collection of subtables each giving incremental information regarding the kerning of various pairs of
glyphs.
The basic structure of the kerning data structure is:
$kern = $f->{'kern'}{'tables'}[$tnum]{'kerns'}{$leftnum}{$rightnum};
Due to the possible complexity of some kerning tables the above information is insufficient. Reference also needs to be made to the type of
the table and the coverage field.
INSTANCE VARIABLES
The instance variables for a kerning table are relatively straightforward.
Version
Version number of the kerning table
Num Number of subtables in the kerning table
tables
Array of subtables in the kerning table
Each subtable has a number of instance variables.
kern
A two level hash array containing kerning values. The indexing is left value and then right value. In the case of type 2 tables,
the indexing is via left class and right class. It may seem using hashes is strange, but most tables are not type 2 and this method
saves empty array values.
type
Stores the table type. Only type 0 and type 2 tables are specified for TrueType so far.
coverage
A bit field of coverage information regarding the kerning value. See the TrueType specification for details.
Version
Contains the version number of the table.
Num Number of kerning pairs in this type 0 table.
left
An array indexed by glyph - left_first which returns a class number for the glyph in type 2 tables.
right
An array indexed by glyph - right_first which returns a class number for the glyph in type 2 tables.
left_first
the glyph number of the first element in the left array for type 2 tables.
right_first
the glyph number of the first element in the right array for type 2 tables.
num_left
Number of left classes
num_right
Number of right classes
METHODS
$t->read
Reads the whole kerning table into structures
$t->out($fh)
Outputs the kerning tables to the given file
$t->XML_element($context, $depth, $key, $value)
Handles outputting the kern hash into XML a little more tidily
BUGS
o Only supports kerning table types 0 & 2.
o No real support functions to do anything with the kerning tables yet.
AUTHOR
Martin Hosken Martin_Hosken@sil.org. See Font::TTF::Font for copyright and licensing.
perl v5.10.1 2011-02-25 Font::TTF::Kern(3pm)