01-03-2014
yifangt,
The
Thanks button is still there. Is it possible that you just didn't notice it because disedorgue's code was presented as a single long line and you didn't scroll far enough to the right to see it?
This User Gave Thanks to Don Cragun For This Post:
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I need to create a matrix of variable rows and columns. Right now i have 3 rows and two columns and following values.
Output something like
TypeA TypeB
TestCase1 Pass Fail
TestCase2 Pass ... (2 Replies)
Discussion started by: jakSun8
2 Replies
2. UNIX for Dummies Questions & Answers
Dear Unix Gurus,
I have a sample data set that looks like this
y1 y2 y3 y4 y5
x1 0.3 0.5 2.3 3.1 5.1
x2 1.2 4.1 3.5 1.7 1.2
x3 3.1 2.1 1.0 4.1 2.1
x4 5.0 4.0 6.0 7.0 1.1
I want to open it up so that I get
x1 y1 0.3
x2 y1 1.2
x3 y1 3.1
x4 y1 5.0
x1 y2 0.5
x2 y2... (3 Replies)
Discussion started by: tintin72
3 Replies
3. UNIX for Dummies Questions & Answers
Hello Everyone,
My issue is that I want to traverse a database table row by row and do some action on the value retrieved in each row.
I have gone through a lot of shell script questions/posts. I could find row by row traversal of a file but not a database table.
Please help.
Thanks &... (5 Replies)
Discussion started by: ahsan.asghar
5 Replies
4. Shell Programming and Scripting
Hi,
I have a table in the format:
1 0 -1 1 0
2 0 1 -1 0 0 0
3 0 1 1 0 0 0 0 0 0
etc.
I am trying to input this to a program, however it is complaining about the fact that it is not in matrix format. How do I add 0's to end of the rows to make them even?
Thanks in advance! (2 Replies)
Discussion started by: Rhavin
2 Replies
5. Shell Programming and Scripting
Dear forum users,
i'm trying to read a table with 40x122 data in a array. Following this, i'd plot each rows again the header of the file in gnuplot.
i was thinking for something like that
#!/bin/bash
# reads from the $ips file and assigns to $MYARRAY
#IFS =";" split the line after the... (6 Replies)
Discussion started by: servuskelb
6 Replies
6. Shell Programming and Scripting
Hello All,
i have a file sort.txt with below entries.
1 12 10
16 6 4
20 8 15
i need to sort these entries and the out put should come in a single line.
1 4 6 8 10 12 15 16 20
Can you please help me sort this out? (2 Replies)
Discussion started by: sureshk_85
2 Replies
7. Shell Programming and Scripting
Hi, I already succeed moving a new row to another table if the field from new row doesn't have the first word that I categorized (like: IRC blablabla, PTM blablabla, ADM blablabla, BS blablabla).
But it can't delete the old row. Please help me with the script.
my php script:
INSERT INTO... (2 Replies)
Discussion started by: jazzyzha
2 Replies
8. Shell Programming and Scripting
Hello
I've four fields . They are First Name, Last Name, Age, Country. So when I run a Unix command, I get below output with these fields comes every time in different order as you can see. Some times first name is the first row and other time last name is first row in the output and etc etc..... (9 Replies)
Discussion started by: rprpr
9 Replies
LEARN ABOUT SUSE
gtk2::listitem
Gtk2::ListItem(3) User Contributed Perl Documentation Gtk2::ListItem(3)
NAME
Gtk2::ListItem
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, Glib::Float, boolean)
scroll-vertical (Gtk2::ListItem, Gtk2::ScrollType, Glib::Float)
scroll-horizontal (Gtk2::ListItem, Gtk2::ScrollType, Glib::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-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.12.1 2010-07-05 Gtk2::ListItem(3)