08-25-2013
Thank you it works perfectly could you please explain how it works
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to search for the very first character in a row from the file.
It is very similar to the way we use Mainframes File-Aid, quick search option.
I couldnt find anything helpful with the grep command.
Does any one has an idea, how to perform this? (6 Replies)
Discussion started by: videsh77
6 Replies
2. Shell Programming and Scripting
Hi,
I want to print column value based on row number say multiple of 8.
Input file:
line 1 67 34
line 2 45 57
. . .
. . .
line 8 12 46
. . .
. . .
line 16 24 90
. . .
. . .
line 24 49 67
Output
46
90
67 (2 Replies)
Discussion started by: Surabhi_so_mh
2 Replies
3. Shell Programming and Scripting
Hi,
I have a file which consists of two columns but the first one can be varying in length like
123456789 0abcd
123456789 0abcd
4015 0 0abcd
5000 0abcd
I want to go through the file reading each line, count the number of characters in the first column and delete... (2 Replies)
Discussion started by: swasid
2 Replies
4. Shell Programming and Scripting
I am trying to see if I can use awk to remove duplicates from a file. This is the file:
-==> Listvol <==
deleting /vol/eng_rmd_0941
deleting /vol/eng_rmd_0943
deleting /vol/eng_rmd_0943
deleting /vol/eng_rmd_1006
deleting /vol/eng_rmd_1012
rearrange /vol/eng_rmd_0943
... (6 Replies)
Discussion started by: newbie2010
6 Replies
5. Shell Programming and Scripting
i have below code to count number of rows in file1.txt, if the row count is more than one then i have sending an email along with file1.txt attached and fail the process(do nothing if count is <=1),
if I test individually count part works good but when i include the email part its not working,... (1 Reply)
Discussion started by: srini_106
1 Replies
6. Shell Programming and Scripting
Hi Gurus,
I have requirement to identify the records based on one column value.
the sample file as below:
ID AMT, AMT1
100,10, 2
100,20, 3
200,30, 0
200, 40, 0
300, 20, 2
300, 50, 2
400, 20, 1
400, 60, 0
for each ID, there 2 records, if any one record amt1 is 0, the in 4th col add... (5 Replies)
Discussion started by: ken6503
5 Replies
7. Shell Programming and Scripting
I want to specify field width based on the row with FTR.
I can acheive this if column width is constant with:
awk 'BEGIN { FIELDWIDTHS = "20 7 14 30" }{print $1,$4}' file
file:COL1 COL2 CL3 FTR
AA8 S2 CAT2 your comments
CC7 ... (5 Replies)
Discussion started by: aydj
5 Replies
8. Shell Programming and Scripting
Hi,
I have an input file as shown below:
20140102;13:30;FR-AUD-LIBOR-1W;2.495
20140103;13:30;FR-AUD-LIBOR-1W;2.475
20140106;13:30;FR-AUD-LIBOR-1W;2.495
20140107;13:30;FR-AUD-LIBOR-1W;2.475
20140108;13:30;FR-AUD-LIBOR-1W;2.475
20140109;13:30;FR-AUD-LIBOR-1W;2.475... (2 Replies)
Discussion started by: shash
2 Replies
9. Shell Programming and Scripting
Dear All,
I was wondering if you may help me with an issue.
I would like to merge row based on column 1.
input file:
b1 ggg b2 fff NA NA hhh NA NA NA NA NA
a1 xxx a2 yyy NA NA zzz NA NA NA NA NA
a1 xxx NA NA a3 ttt NA ggg NA NA NA NA
output file:
b1 ggg b2 fff NA NA hhh NA NA NA NA NA... (5 Replies)
Discussion started by: giuliangiuseppe
5 Replies
10. Shell Programming and Scripting
Hi ALL,
We have requirement in a file, i have multiple rows.
Example below:
Input file rows
01,1,102319,0,0,70,26,U,1,331,000000113200000011920000001212
01,1,102319,0,1,80,20,U,1,241,00000059420000006021
I need my output file should be as mentioned below. Last field should split for... (4 Replies)
Discussion started by: kotra
4 Replies
LEARN ABOUT DEBIAN
gtk2::listitem
Gtk2::ListItem(3pm) User Contributed Perl Documentation Gtk2::ListItem(3pm)
NAME
Gtk2::ListItem - wrapper for GtkListItem
DESCRIPTION
Gtk2::ListItem is the widget used for each item in a Gtk2::List. Gtk2::List and Gtk2::ListItem are deprecated; use Gtk2::TreeView and a
Gtk2::ListStore instead.
Gtk2::ListItem is included in Gtk2-Perl only because Gtk2::Combo contains a Gtk2::List, and Gtk2::Combo's replacement, Gtk2::ComboBox,
didn't appear in gtk+ until 2.4.0.
HIERARCHY
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Bin
+----Gtk2::Item
+----Gtk2::ListItem
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
METHODS
widget = Gtk2::ListItem->new ($label=undef)
o $label (string)
widget = Gtk2::ListItem->new_with_label ($label=undef)
o $label (string)
$list_item->deselect
$list_item->select
SIGNALS
select-all (Gtk2::ListItem)
unselect-all (Gtk2::ListItem)
toggle-focus-row (Gtk2::ListItem)
undo-selection (Gtk2::ListItem)
start-selection (Gtk2::ListItem)
end-selection (Gtk2::ListItem)
toggle-add-mode (Gtk2::ListItem)
extend-selection (Gtk2::ListItem, Gtk2::ScrollType, float, boolean)
scroll-vertical (Gtk2::ListItem, Gtk2::ScrollType, float)
scroll-horizontal (Gtk2::ListItem, Gtk2::ScrollType, float)
ENUMS AND FLAGS
enum Gtk2::ScrollType
o 'none' / 'GTK_SCROLL_NONE'
o 'jump' / 'GTK_SCROLL_JUMP'
o 'step-backward' / 'GTK_SCROLL_STEP_BACKWARD'
o 'step-forward' / 'GTK_SCROLL_STEP_FORWARD'
o 'page-backward' / 'GTK_SCROLL_PAGE_BACKWARD'
o 'page-forward' / 'GTK_SCROLL_PAGE_FORWARD'
o 'step-up' / 'GTK_SCROLL_STEP_UP'
o 'step-down' / 'GTK_SCROLL_STEP_DOWN'
o 'page-up' / 'GTK_SCROLL_PAGE_UP'
o 'page-down' / 'GTK_SCROLL_PAGE_DOWN'
o 'step-left' / 'GTK_SCROLL_STEP_LEFT'
o 'step-right' / 'GTK_SCROLL_STEP_RIGHT'
o 'page-left' / 'GTK_SCROLL_PAGE_LEFT'
o 'page-right' / 'GTK_SCROLL_PAGE_RIGHT'
o 'start' / 'GTK_SCROLL_START'
o 'end' / 'GTK_SCROLL_END'
SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Item
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.14.2 2012-05-27 Gtk2::ListItem(3pm)