I need some help with a script which accepts multiple rows of input (analysis from a virtual robot's testrun) from the standard in, and compares it as a whole with another file featuring erroneous data from a virtual robot's test run. What I want it to be able to do is slice off all the erroneous... (2 Replies)
Hi,
I need sample code to compare the two files line by line which contains text strings and to print the difference in the third file.
Thanks in advance (1 Reply)
Hi All,
In one shell script I have
In variable "i" I am getting a full path of a file. Now I want to compare something like
-- upper(*Nav*))
I dont want to do like below because in each CASE statement I doing so many operations.
Please guide me.
Thanks in advance... (4 Replies)
The question is not as simple as the title... I have a file, it looks like this
<string name="string1">RZ-LED</string>
<string name="string2">2.0</string>
<string name="string2">Version 2.0</string>
<string name="string3">BP</string>
I would like to check for duplicate entries of... (11 Replies)
I have the following lines in a log file. It would be great if some one can help me to create a new file with the just entries in the below format.
66.150.161.195 HPSAC=Z05
66.150.161.196 HPSAC=A05
That is just extract the IP address and the string DPSAC=its value
66.150.161.195 -... (1 Reply)
I'm trying to write a bash script to perform basic arithmetic operations but I want to run a comparison on the arguments first to check that they're a number greater than zero.
I want an error to pop up if the arguments args aren't >= 0 so I have:
if ! ]; then
echo "bad number: $1"
fi
... (14 Replies)
I want to create an array which can store the strings from the user input in shell script .
example :-
I want to store the 5 fruits name in a single array which the user provides . (1 Reply)
Hello Everyone ,
Iam a newbie to shell programming and iam reaching out if anyone can help in this :-
I have two files
1) Insert.txt
2) partition_list.txt
insert.txt looks like this :-
insert into emp1 partition (partition_name)
(a1,
b2,
c4,
s6,
d8)
select
a1,
b2,
c4, (2 Replies)
I cannot seem to get what should be a simple awk one-liner to work correctly and cannot figure out why. I would like to use patterns from a specific field in one file as regex to search for matching strings in the entire line ($0) of another file.
I would like to output the lines of File2 which... (1 Reply)
Discussion started by: jvoot
1 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)