12-15-2010
@ctsgnb, Yes. I missed caret ^ and last one is much better. Tks
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I would like to use sed to add "-" between the following string:
Value: 20060830
Result: 2006-08-30
Pls advice. Thx a lot
Victor (5 Replies)
Discussion started by: victorlung
5 Replies
2. Shell Programming and Scripting
Hi Folks,
I have a file with all fields defined by byte position, but any field can be empty so I cannot print lines based on a search of specific columns. I need to print all lines of this file where the string of two characters at byte position 100-101 contains the number 27. Any ideas?
... (4 Replies)
Discussion started by: HealthyGuy
4 Replies
3. Shell Programming and Scripting
--------------------------------------------------------------------------------
Have to check in a file that the lines starting with 620 and 705
are ending at same posiotin.
82012345
62023232323
70523949558
62023255454
9999
In the above lines, i have to check the lines starting... (1 Reply)
Discussion started by: senthil_is
1 Replies
4. Shell Programming and Scripting
Hello All,
I am new to this forum. I am currently facing a problem in manipulating files.
I have two files called old-matter and new-matter
# cat old-matter
abc: this, is a, sample, entry
byi: white board, is white in color
rtz: black, board is black
qty: i tried, a lot
asd: no... (1 Reply)
Discussion started by: rahmathulla
1 Replies
5. Shell Programming and Scripting
Hi, guys. I have one question:
How can I search for a line with certain string in it and then insert a string into this line?
For example:
There is a file called shadow, the contents of it are below:
**************************
...
yuanz:VIRADxMsadfDF/Q:0:0:50:7:::... (9 Replies)
Discussion started by: daikeyang
9 Replies
6. Shell Programming and Scripting
I need to print lines with character S at nth position in a file...can someone pl help me with appropriate awk command for this (2 Replies)
Discussion started by: manaswinig
2 Replies
7. Shell Programming and Scripting
I need to print lines with character S at nth position in a file...can someone pl help me with appropriate awk command for this (1 Reply)
Discussion started by: manaswinig
1 Replies
8. Shell Programming and Scripting
I am trying to use sed to replace specific characters at a specific position in the file with a different value... can this be done?
Example:
File:
A0199999123
A0199999124
A0199999125
Need to replace 99999 in positions 3-7 with 88888.
Any help is appreciated. (5 Replies)
Discussion started by: programmer22
5 Replies
9. Shell Programming and Scripting
Greetings.
I don't have experience programing scripts. I need to insert a string in a specific position of another string on another file (last.cfg), for example:
File last.cfg before using script:
login_interval=1800
lcs.machinename=client04
File last.cfg after using script:... (4 Replies)
Discussion started by: vanesuke
4 Replies
10. Shell Programming and Scripting
I asked this before, but my problem got more complicated. Heres what I am trying to do:
I'm trying to replace a string at a certain location with another string.
Heres the file I'm trying to change:
\E
I want to replace the escape code at the 3rd line, 2nd column with this escape code... (3 Replies)
Discussion started by: tinman47
3 Replies
LEARN ABOUT CENTOS
font::ttf::gdef
Font::TTF::GDEF(3) User Contributed Perl Documentation Font::TTF::GDEF(3)
NAME
Font::TTF::GDEF - Opentype GDEF table support
DESCRIPTION
The GDEF table contains various global lists of information which are apparantly used in other places in an OpenType renderer. But
precisely where is open to speculation...
INSTANCE VARIABLES
There are up to 5 tables in the GDEF table, each with their own structure:
GLYPH
This is an Font::TTF::Coverage Class Definition table containing information as to what type each glyph is.
ATTACH
The attach table consists of a coverage table and then attachment points for each glyph in the coverage table:
COVERAGE
This is a coverage table
POINTS This is an array of point elements. Each element is an array of curve points corresponding to the attachment points on that
glyph. The order of the curve points in the array corresponds to the attachment point number specified in the MARKS coverage
table (see below).
LIG This contains the ligature caret positioning information for ligature glyphs
COVERAGE
A coverage table to say which glyphs are ligatures
LIGS An array of elements for each ligature. Each element is an array of information for each caret position in the ligature (there
being number of components - 1 of these, generally)
FMT This is the format of the information and is important to provide the semantics for the value. This value must be
set correctly before output
VAL The value which has meaning according to FMT
DEVICE For FMT = 3, a device table is also referenced which is stored here
MARKS
This class definition table defines the classes of mark glyphs that can be selected for processing using the MarkAttachmentType field
of lookup FLAG words.
MARKSETS
Contains an array of coverage tables indexed by the FILTER value of a lookup.
METHODS
$t->read
Reads the table into the data structure
$t->out($fh)
Writes out this table.
$t->update
Sort COVERAGE tables.
perl v5.16.3 2012-08-08 Font::TTF::GDEF(3)