I have a text file which has the following data. There can be more lines in the file. But, I am only interested in these two lines which has ~ZZ~VISTN and ~ZZ~F159B segments.
ISA~00~ ~00~ ~ZZ~VISTN ~ZZ~U1CAD ~051227~183
7~U~00200~000011258~0~P~<
... (8 Replies)
I have a file as below,
$vi myfile
aaa;20071217
bbb;20070404
ccc;20070254
"
if I want to cut the column 9-12 of the first line , the output should be 1217 , can advise how to write a script to get the result ? thx
p.s. can a script that have only ONE line could do that ? (5 Replies)
file1.txt :
india pakistan bangladesh
japan canada africa
USA srilanka Nepal
file2.txt
Delhi
Tokyo
washington
I have to cut the first column of file1.txt and apend it with file2.txt as another column like this
Delhi india
Tokyo japan
washington USA
... (4 Replies)
Dear Friends,
I have an output like this:
7072;0;7072901
7072;1001;7072902
7072;101;7072903
7072;102;7072904
7072;1101;7072905
7072;1301;7072906
7072;1401;7072907
7072;162;7072908
7072;1;7072909
and I need to print the value in the column 3 , row number 1. which is 7072901 only.... (2 Replies)
I have a problem with my script. I am using following code
awk -F"," '{print $0,",",substr($2,3,3)}' $REG_InputFileName > $TargetSeqPath/Master.tmp
while read i
do
echo $i > $TargetSeqPath/Ref.tmp
OutFileName=`awk -F"," '{print $3}' $TargetSeqPath/Ref.tmp`
rm -f... (9 Replies)
My scenario is that I need to pick value from third column based on fourth column value, if fourth column value is 1 then first value of third column.Third column (2|3|4|6|1) values are cancatenated.
Please someone help me to resolve this issue.
Source
column1 column2 column3 column4... (2 Replies)
I have a parts file that looks like this:
EE36264|0NH46||Y|A|EA|0|0|0|N|LUNETTE 3" ADJ. EYE|0|0|*|0|PEOZZU|N|12|N|N|VPS|N|N|N|N|LUNETTE 3" ADJ. EYE|0|||Receive into Inventory|81755|EE36264|*|*|*|0|0||EE36264|A|*|*
F1.5|53932||Y|A|EA|0|0|0|N|FLAT ZERO CAL... (4 Replies)
Hi Pals,
I have a file which contains a set of similar lines, as follows:
Remedy Support Action Triggered by Incident Modification of type: ARA username2 ########## ARA|INC0000178532 INC0000178532 0000000019879 000000000038372
Remedy... (6 Replies)
hi i have sample data
a,b,c,d,e,g h http://mysite.xyx
z,b,d,f,e,s t http://123124#
a,b,c,i,m,nothing
d,i,j,e,w,nothing
output expected is
a,b,c,d,e,http://mysite.xyx
z,b,d,f,e,http://123124#
a,b,c,i,m,nothing
d,i,j,e,w,nothing
i can get only links using grep -o 'http.*'
i... (8 Replies)
Discussion started by: zozoo
8 Replies
LEARN ABOUT DEBIAN
pango::context
Pango::Context(3pm) User Contributed Perl Documentation Pango::Context(3pm)NAME
Pango::Context - Pango object that stores global information used to control the itemization process
HIERARCHY
Glib::Object
+----Pango::Context
METHODS
direction = $context->get_base_dir
$context->set_base_dir ($direction)
o $direction (Pango::Direction)
gravity = $context->get_base_gravity
Since: pango 1.16
$context->set_base_gravity ($gravity)
o $gravity (Pango::Gravity)
Since: pango 1.16
fontdescription = $context->get_font_description
$context->set_font_description ($desc)
o $desc (Pango::FontDescription)
fontmap = $context->get_font_map
Since: pango 1.6
gravity = $context->get_gravity
Since: pango 1.16
gravityhint = $context->get_gravity_hint
Since: pango 1.16
$context->set_gravity_hint ($hint)
o $hint (Pango::GravityHint)
Since: pango 1.16
language = $context->get_language
$context->set_language ($language)
o $language (Pango::Language)
@families = $context->list_families
font = $context->load_font ($desc)
o $desc (Pango::FontDescription or undef)
fontset = $context->load_fontset ($desc, $language)
o $desc (Pango::FontDescription)
o $language (Pango::Language or undef)
matrix or undef = $context->get_matrix
Since: pango 1.6
$context->set_matrix ($matrix)
o $matrix (Pango::Matrix or undef)
Since: pango 1.6
fontmetrics = $context->get_metrics ($desc, $language)
o $desc (Pango::FontDescription)
o $language (Pango::Language or undef)
ENUMS AND FLAGS
enum Pango::Direction
o 'ltr' / 'PANGO_DIRECTION_LTR'
o 'rtl' / 'PANGO_DIRECTION_RTL'
o 'ttb-ltr' / 'PANGO_DIRECTION_TTB_LTR'
o 'ttb-rtl' / 'PANGO_DIRECTION_TTB_RTL'
o 'weak-ltr' / 'PANGO_DIRECTION_WEAK_LTR'
o 'weak-rtl' / 'PANGO_DIRECTION_WEAK_RTL'
o 'neutral' / 'PANGO_DIRECTION_NEUTRAL'
enum Pango::Gravity
o 'south' / 'PANGO_GRAVITY_SOUTH'
o 'east' / 'PANGO_GRAVITY_EAST'
o 'north' / 'PANGO_GRAVITY_NORTH'
o 'west' / 'PANGO_GRAVITY_WEST'
o 'auto' / 'PANGO_GRAVITY_AUTO'
enum Pango::GravityHint
o 'natural' / 'PANGO_GRAVITY_HINT_NATURAL'
o 'strong' / 'PANGO_GRAVITY_HINT_STRONG'
o 'line' / 'PANGO_GRAVITY_HINT_LINE'
SEE ALSO
Pango, Glib::Object
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Pango for a full notice.
perl v5.14.2 2011-11-15 Pango::Context(3pm)