10-07-2012
Quote:
Originally Posted by
Ravindra Swan
I already mentioned that i have some lines containing InputLayout and OutputLayout,these are also being divided which is not needed.
So strictly 'layout' and '$' partioning must be done.
Using only one "Layout" we have already answered in the same thread.
see Post 3 & 4.
And for quick response please provide your input and desired output in detail.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to split a file based on certain context inside the file. Is there a unix command that can do this? I have looked into split and csplit but it does not seem like those would work because I need to split this file based on certain text. The file has multiple records and I need to split this... (1 Reply)
Discussion started by: matrix1067
1 Replies
2. Shell Programming and Scripting
I need to write a shell script for below scenario
My input file has data in format:
qwerty0101TWE 12345 01022005 01022005 datainala alanfernanded 26
qwerty0101mXZ 12349 01022005 06022008 datainalb johngalilo 28
qwerty0101TWE 12342 01022005 07022009 datainalc hitalbert 43
qwerty0101CFG 12345... (19 Replies)
Discussion started by: jimmy12
19 Replies
3. Shell Programming and Scripting
I have a file as:
I/P File:
Ground Car 2009
Lib 2008
Lib 2003
Ground Car 2009
Ground Car 2003
Car 2005
Car 2003
Car 2005
Sita 2900 2006
Car 2007
I have to split the file into two: - one for names and second for years.
O/p1 (Names):
Ground Car (3 Replies)
Discussion started by: karumudi7
3 Replies
4. Shell Programming and Scripting
Hi all,
I am new to scripting and I have a requirement
we have source file as
HEADER 01.10.2010 14:32:37 NAYA
TA0022
TA0000
20000001;20060612;99991231;K4;02;3
20000008;20080624;99991231;K4;02;3
20000026;19840724;99991231;KK;01;3
20000027;19840724;99991231;KK;01;3... (6 Replies)
Discussion started by: srk409
6 Replies
5. Shell Programming and Scripting
Hi Friends,
Newbie to shell scripting. Currently i have used the below to sort data based on filenames and datestamp
$ printf '%s\n' *.dat* | sort -t. -k3,4
filename_1.dat.20120430.Z
filename_2.dat.20120430.Z
filename_3.dat.20120430.Z
filename_1.dat.20120501.Z
filename_2.dat.20120501.Z... (1 Reply)
Discussion started by: robertbrown624
1 Replies
6. Shell Programming and Scripting
I will simplify the explaination a bit, I need to parse through a 87m file -
I have a single text file in the form of :
<NAME>house........
SOMETEXT
SOMETEXT
SOMETEXT
.
.
.
.
</script>
MORETEXT
MORETEXT
.
.
. (6 Replies)
Discussion started by: sumguy
6 Replies
7. UNIX for Dummies Questions & Answers
Dear All,
I have two files but want to extract data from one based on another... can you please help me
file 1
David
Tom
Ellen
and file 2
David|0010|testnamez|resultsz
David|0004|testnamex|resultsx
Tom|0010|testnamez|resultsz
Tom|0004|testnamex|resultsx
Ellen|0010|testnamez|resultsz... (12 Replies)
Discussion started by: A-V
12 Replies
8. Shell Programming and Scripting
Hi Friends ,
Please guide me with the code to extract multiple files from one file .
The File Looks like ( Suppose a file has 2 tables list ,column length may vary )
H..- > File Header....
H....- >Table 1 Header....
D....- > Table 1 Data....
T....- >Table 1 Trailer....
H..-> Table 2... (1 Reply)
Discussion started by: AspiringD
1 Replies
9. Shell Programming and Scripting
Hi All,
I have the sales_data.csv file in the directory as below.
SDDCCR; SOM ; MD6546474777 ;05-JAN-16
ABC ; KIRAN ; CB789 ;04-JAN-16
ABC ; RAMANA; KS566767477747 ;06-JAN-16
ABC ; KAMESH; A33535335 ;04-JAN-16
SDDCCR; DINESH; GD6674474747 ;08-JAN-16... (4 Replies)
Discussion started by: ROCK_PLSQL
4 Replies
10. Shell Programming and Scripting
We have the data looks like below in a log file.
I want to generat files based on the string between two hash(#) symbol like below
Source:
#ext1#test1.tale2 drop
#ext1#test11.tale21 drop
#ext1#test123.tale21 drop
#ext2#test1.tale21 drop
#ext2#test12.tale21 drop
#ext3#test11.tale21 drop... (5 Replies)
Discussion started by: Sanjeev G
5 Replies
LEARN ABOUT DEBIAN
pango::layout
Pango::Layout(3pm) User Contributed Perl Documentation Pango::Layout(3pm)
NAME
Pango::Layout - an object representing a paragraph of text with attributes
HIERARCHY
Glib::Object
+----Pango::Layout
METHODS
layout = Pango::Layout->new ($context)
o $context (Pango::Context)
alignment = $layout->get_alignment
$layout->set_alignment ($alignment)
o $alignment (Pango::Alignment)
attrlist or undef = $layout->get_attributes
$layout->set_attributes ($attrs)
o $attrs (Pango::AttrList or undef)
boolean = $layout->get_auto_dir
Since: pango 1.4
$layout->set_auto_dir ($auto_dir)
o $auto_dir (boolean)
Since: pango 1.4
integer = $layout->get_baseline
Since: pango 1.22
$layout->context_changed
context = $layout->get_context
layout = $src->copy
(strong_pos, weak_pos) = $layout->get_cursor_pos ($index)
o $index_ (integer)
ellipsizemode = $layout->get_ellipsize
Since: pango 1.6
$layout->set_ellipsize ($ellipsize)
o $ellipsize (Pango::EllipsizeMode)
Since: pango 1.6
(ink_rect, logical_rect) = $layout->get_extents
(ink_rect, logical_rect) = $layout->get_pixel_extents
fontdescription or undef = $layout->get_font_description
Since: pango 1.8
$layout->set_font_description ($desc)
o $desc (Pango::FontDescription or undef)
integer = $layout->get_height
Since: pango 1.20
$layout->set_height ($height)
o $height (integer)
Since: pango 1.20
integer = $layout->get_indent
$layout->set_indent ($newval)
o $newval (integer)
array reference = $layout->index_to_pos ($index_)
o $index_ (integer)
boolean = $layout->is_ellipsized
Since: pango 1.16
boolean = $layout->is_wrapped
Since: pango 1.16
layoutiter = $layout->get_iter
integer = $layout->get_justify
$layout->set_justify ($newval)
o $newval (integer)
integer = $layout->get_line_count
layoutline or undef = $layout->get_line ($line)
o $line (integer)
layoutline or undef = $layout->get_line_readonly ($line)
o $line (integer)
Since: pango 1.16
list = $layout->get_lines
list = $layout->get_lines_readonly
Since: pango 1.16
list = $layout->get_log_attrs
Returns a list of Pango::LogAttr's
$layout->set_markup ($markup)
o $markup (string)
accel_char = $layout->set_markup_with_accel ($markup, $accel_marker)
o $markup (string)
o $accel_marker (character)
(new_index, new_trailing) = $layout->move_cursor_visually ($strong, $old_index, $old_trailing, $direction)
o $strong (boolean)
o $old_index (integer)
o $old_trailing (integer)
o $direction (integer)
list = $layout->get_pixel_extents
(width, height) = $layout->get_pixel_size
integer = $layout->get_single_paragraph_mode
$layout->set_single_paragraph_mode ($newval)
o $newval (integer)
(width, height) = $layout->get_size
integer = $layout->get_spacing
$layout->set_spacing ($newval)
o $newval (integer)
tabarray or undef = $layout->get_tabs
$layout->set_tabs ($tabs)
o $tabs (Pango::TabArray or undef)
string = $layout->get_text
$layout->set_text ($text)
o $text (string)
integer = $layout->get_unknown_glyphs_count
Since: pango 1.16
integer = $layout->get_width
$layout->set_width ($newval)
o $newval (integer)
wrapmode = $layout->get_wrap
$layout->set_wrap ($wrap)
o $wrap (Pango::WrapMode)
(index, trailing) = $layout->xy_to_index ($x, $y)
o $x (integer)
o $y (integer)
ENUMS AND FLAGS
enum Pango::Alignment
o 'left' / 'PANGO_ALIGN_LEFT'
o 'center' / 'PANGO_ALIGN_CENTER'
o 'right' / 'PANGO_ALIGN_RIGHT'
enum Pango::EllipsizeMode
o 'none' / 'PANGO_ELLIPSIZE_NONE'
o 'start' / 'PANGO_ELLIPSIZE_START'
o 'middle' / 'PANGO_ELLIPSIZE_MIDDLE'
o 'end' / 'PANGO_ELLIPSIZE_END'
enum Pango::WrapMode
o 'word' / 'PANGO_WRAP_WORD'
o 'char' / 'PANGO_WRAP_CHAR'
o 'word-char' / 'PANGO_WRAP_WORD_CHAR'
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::Layout(3pm)