Sponsored Content
Full Discussion: Changing table layout
Top Forums UNIX for Dummies Questions & Answers Changing table layout Post 302621177 by beca123456 on Tuesday 10th of April 2012 04:04:35 AM
Old 04-10-2012
Ok,

Thanks again for the explanations !

---------- Post updated at 03:04 AM ---------- Previous update was at 01:58 AM ----------

Just by curiosity (it can be useful maybe later)

With a layout like that:
Code:
City: NYC
ZIP: 212
Ref. Item: 00004
Ref. Item: 00032
Ref. Item: 00006

City: LA
ZIP: 90049
Ref. Item: 00068
Ref. Item: 00009

City: SF
ZIP: 94131
Ref. Item: 0027

How can I create an array to split the first bloc (i.e. from the first "City" to the 3rd "Ref."), in order to know the NR of the last "Ref." in each block?

Code:
1 City: NYC
2 ZIP: 212
3 Ref. Item: 00004
4 Ref. Item: 00032
5 Ref. Item: 00006

1 City: LA
2 ZIP: 90049
3 Ref. Item: 00068
4 Ref. Item: 00009

1 City: SF
2 ZIP: 94131
3 Ref. Item: 0027


Last edited by beca123456; 04-10-2012 at 05:22 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Changing Keyboard layout

Hi, How do i go about changing the keyboard layout to the UK layout. currently the @ symbol on the keyboard appears as a " sybol on the monitor. Many Thanks in advance Kam (1 Reply)
Discussion started by: vishnura
1 Replies

2. Linux

Changing default keyboard layout in Linux

Hi I have Fedora linux with XFCE desktop. I want to use Indic lanquage in that. I have installed unicode devnagri fonts. But I am not able to change my default keyboard layout. How can I change default keyboard layout in XFCE or through command line. Thanks NeeleshG (0 Replies)
Discussion started by: neel.gurjar
0 Replies

3. Shell Programming and Scripting

select values from db1 table and insert into table of DB2

Hi I am having three oracle databases running in three different machine. their ip address is different. from one of the DB am able to access both the databases.(means am able to select values and insert values in to tables individually.) I need to fetch some data from DB1 table(say DB1 ip is... (2 Replies)
Discussion started by: aemunathan
2 Replies

4. UNIX and Linux Applications

create table via stored procedure (passing the table name to it)

hi there, I am trying to create a stored procedure that i can pass the table name to and it will create a table with that name. but for some reason it creates with what i have defined as the variable name . In the case of the example below it creates a table called 'tname' for example ... (6 Replies)
Discussion started by: rethink
6 Replies

5. UNIX for Dummies Questions & Answers

Creating a condensed table from a pre-existing table in putty

Hello, I'm working with putty on Windows 7 professional and I'd like to know if there's a way to gather specific lines from a pre-existing table and make a new table with that information. More specifically, I'd like the program to look at a specific column, say column N, and see if any of the... (5 Replies)
Discussion started by: Deedee393
5 Replies

6. Shell Programming and Scripting

Help with changing text file layout

Hi there, I am with this one column input text file to change layout, please help. Thanks. I have awk, sed. $ cat input Median 1.0 2.3 3.0 Median 35.0 26.3 45.7 10.1 63.1 Median 1.2 2.3 (8 Replies)
Discussion started by: cwzkevin
8 Replies

7. Shell Programming and Scripting

Build a table from a list by comparing existing table entries

I am new to this shell scripting.... I have a file which contains list of users. This files get updated when new user comes into the system. I want to create script which will give a table containing unique list of users. When I say unique, it means script should match table while parsing... (3 Replies)
Discussion started by: dchavan1901
3 Replies

8. UNIX and Linux Applications

Help in copying table structure to another table with constraints in Oracle

hi, i need to copy one table with data into another table, right now am using create table table1 as select * from table2 i want the constraints of table1 to be copied to table2 also , can anyone give me some solution to copy the constraints also, now am using oracle 10.2.0.3.0... (1 Reply)
Discussion started by: senkerth
1 Replies

9. UNIX for Dummies Questions & Answers

Vi. changing txt into table

just discover this thread. It sounds perfect for me because I am following an online course on command line tools and some instruction ... seems not be replicable on my Terminal Here is an example on a txt file with n rows each containing 3 word separated by a space. a b c d e f .... ... (5 Replies)
Discussion started by: mrMe
5 Replies

10. Web Development

Getting Rid of Annoying Bootstrap Table Borders and Wayward Table Lines

Bootstrap is great; but we have had some issues with Bootstrapped <tables> (and legacy <fieldset> elements) showing annoying, wayward lines. I solved that problem today with this simple jQuery in the footer: <script> $(function(){ $('tr, td, fieldset,... (0 Replies)
Discussion started by: Neo
0 Replies
wxTreeCtrl(3erl)					     Erlang Module Definition						  wxTreeCtrl(3erl)

NAME
wxTreeCtrl - See external documentation: wxTreeCtrl. DESCRIPTION
See external documentation: wxTreeCtrl . Note: The representation of treeItemId() have changed from the original class implementation to be an semi-opaque type,Equality between TreeItemId's can be tested and zero means that the TreeItem is invalid. DATA TYPES
wxTreeCtrl() : An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes. EXPORTS
new() -> wxTreeCtrl() See external documentation . new(Parent::wxWindow() (see module wxWindow)) -> wxTreeCtrl() Equivalent to new(Parent, []) . new(Parent::wxWindow() (see module wxWindow), Options::[Option]) -> wxTreeCtrl() Types Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx() (see module wx)} See external documentation . addRoot(This::wxTreeCtrl(), Text::string()) -> integer() Equivalent to addRoot(This, Text, []) . addRoot(This::wxTreeCtrl(), Text::string(), Options::[Option]) -> integer() Types Option = {image, integer()} | {selectedImage, integer()} | {data, term()} See external documentation . appendItem(This::wxTreeCtrl(), Parent::integer(), Text::string()) -> integer() Equivalent to appendItem(This, Parent, Text, []) . appendItem(This::wxTreeCtrl(), Parent::integer(), Text::string(), Options::[Option]) -> integer() Types Option = {image, integer()} | {selectedImage, integer()} | {data, term()} See external documentation . assignImageList(This::wxTreeCtrl(), ImageList::wxImageList() (see module wxImageList)) -> ok See external documentation . assignStateImageList(This::wxTreeCtrl(), ImageList::wxImageList() (see module wxImageList)) -> ok See external documentation . collapse(This::wxTreeCtrl(), Item::integer()) -> ok See external documentation . collapseAndReset(This::wxTreeCtrl(), Item::integer()) -> ok See external documentation . create(This::wxTreeCtrl(), Parent::wxWindow() (see module wxWindow)) -> bool() Equivalent to create(This, Parent, []) . create(This::wxTreeCtrl(), Parent::wxWindow() (see module wxWindow), Options::[Option]) -> bool() Types Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx() (see module wx)} See external documentation . delete(This::wxTreeCtrl(), Item::integer()) -> ok See external documentation . deleteAllItems(This::wxTreeCtrl()) -> ok See external documentation . deleteChildren(This::wxTreeCtrl(), Item::integer()) -> ok See external documentation . editLabel(This::wxTreeCtrl(), Item::integer()) -> wxTextCtrl() (see module wxTextCtrl) See external documentation . ensureVisible(This::wxTreeCtrl(), Item::integer()) -> ok See external documentation . expand(This::wxTreeCtrl(), Item::integer()) -> ok See external documentation . getBoundingRect(This::wxTreeCtrl(), Item::integer(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> bool() Equivalent to getBoundingRect(This, Item, Rect, []) . getBoundingRect(This::wxTreeCtrl(), Item::integer(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, Options::[Option]) -> bool() Types Option = {textOnly, bool()} See external documentation . getChildrenCount(This::wxTreeCtrl(), Item::integer()) -> integer() Equivalent to getChildrenCount(This, Item, []) . getChildrenCount(This::wxTreeCtrl(), Item::integer(), Options::[Option]) -> integer() Types Option = {recursively, bool()} See external documentation . getCount(This::wxTreeCtrl()) -> integer() See external documentation . getEditControl(This::wxTreeCtrl()) -> wxTextCtrl() (see module wxTextCtrl) See external documentation . getFirstChild(This::wxTreeCtrl(), Item::integer()) -> {integer(), Cookie::integer()} See external documentation . getNextChild(This::wxTreeCtrl(), Item::integer(), Cookie::integer()) -> {integer(), Cookie::integer()} See external documentation . getFirstVisibleItem(This::wxTreeCtrl()) -> integer() See external documentation . getImageList(This::wxTreeCtrl()) -> wxImageList() (see module wxImageList) See external documentation . getIndent(This::wxTreeCtrl()) -> integer() See external documentation . getItemBackgroundColour(This::wxTreeCtrl(), Item::integer()) -> colour() (see module wx) See external documentation . getItemData(This::wxTreeCtrl(), Item::integer()) -> term() See external documentation . getItemFont(This::wxTreeCtrl(), Item::integer()) -> wxFont() (see module wxFont) See external documentation . getItemImage(This::wxTreeCtrl(), Item::integer()) -> integer() See external documentation . getItemImage(This::wxTreeCtrl(), Item::integer(), Options::[Option]) -> integer() Types Option = {which, WxTreeItemIcon} WxTreeItemIcon = integer() See external documentation . WxTreeItemIcon is one of ?wxTreeItemIcon_Normal | ?wxTreeItemIcon_Selected | ?wxTreeItemIcon_Expanded | ?wxTreeItemIcon_SelectedEx- panded | ?wxTreeItemIcon_Max getItemText(This::wxTreeCtrl(), Item::integer()) -> string() See external documentation . getItemTextColour(This::wxTreeCtrl(), Item::integer()) -> colour() (see module wx) See external documentation . getLastChild(This::wxTreeCtrl(), Item::integer()) -> integer() See external documentation . getNextSibling(This::wxTreeCtrl(), Item::integer()) -> integer() See external documentation . getNextVisible(This::wxTreeCtrl(), Item::integer()) -> integer() See external documentation . getItemParent(This::wxTreeCtrl(), Item::integer()) -> integer() See external documentation . getPrevSibling(This::wxTreeCtrl(), Item::integer()) -> integer() See external documentation . getPrevVisible(This::wxTreeCtrl(), Item::integer()) -> integer() See external documentation . getRootItem(This::wxTreeCtrl()) -> integer() See external documentation . getSelection(This::wxTreeCtrl()) -> integer() See external documentation . getSelections(This::wxTreeCtrl()) -> {integer(), Val::[integer()]} See external documentation . getStateImageList(This::wxTreeCtrl()) -> wxImageList() (see module wxImageList) See external documentation . hitTest(This::wxTreeCtrl(), Point::{X::integer(), Y::integer()}) -> integer() See external documentation . insertItem(This::wxTreeCtrl(), Parent::integer(), Pos::integer(), Text::string()) -> integer() Equivalent to insertItem(This, Parent, Pos, Text, []) . insertItem(This::wxTreeCtrl(), Parent::integer(), Pos::integer(), Text::string(), Options::[Option]) -> integer() Types Option = {image, integer()} | {selImage, integer()} | {data, term()} See external documentation . isBold(This::wxTreeCtrl(), Item::integer()) -> bool() See external documentation . isExpanded(This::wxTreeCtrl(), Item::integer()) -> bool() See external documentation . isSelected(This::wxTreeCtrl(), Item::integer()) -> bool() See external documentation . isVisible(This::wxTreeCtrl(), Item::integer()) -> bool() See external documentation . itemHasChildren(This::wxTreeCtrl(), Item::integer()) -> bool() See external documentation . prependItem(This::wxTreeCtrl(), Parent::integer(), Text::string()) -> integer() Equivalent to prependItem(This, Parent, Text, []) . prependItem(This::wxTreeCtrl(), Parent::integer(), Text::string(), Options::[Option]) -> integer() Types Option = {image, integer()} | {selectedImage, integer()} | {data, term()} See external documentation . scrollTo(This::wxTreeCtrl(), Item::integer()) -> ok See external documentation . selectItem(This::wxTreeCtrl(), Item::integer()) -> ok See external documentation . selectItem(This::wxTreeCtrl(), Item::integer(), Options::[Option]) -> ok Types Option = {select, bool()} See external documentation . setIndent(This::wxTreeCtrl(), Indent::integer()) -> ok See external documentation . setImageList(This::wxTreeCtrl(), ImageList::wxImageList() (see module wxImageList)) -> ok See external documentation . setItemBackgroundColour(This::wxTreeCtrl(), Item::integer(), Col::colour() (see module wx)) -> ok See external documentation . setItemBold(This::wxTreeCtrl(), Item::integer()) -> ok Equivalent to setItemBold(This, Item, []) . setItemBold(This::wxTreeCtrl(), Item::integer(), Options::[Option]) -> ok Types Option = {bold, bool()} See external documentation . setItemData(This::wxTreeCtrl(), Item::integer(), Data::term()) -> ok See external documentation . setItemDropHighlight(This::wxTreeCtrl(), Item::integer()) -> ok Equivalent to setItemDropHighlight(This, Item, []) . setItemDropHighlight(This::wxTreeCtrl(), Item::integer(), Options::[Option]) -> ok Types Option = {highlight, bool()} See external documentation . setItemFont(This::wxTreeCtrl(), Item::integer(), Font::wxFont() (see module wxFont)) -> ok See external documentation . setItemHasChildren(This::wxTreeCtrl(), Item::integer()) -> ok Equivalent to setItemHasChildren(This, Item, []) . setItemHasChildren(This::wxTreeCtrl(), Item::integer(), Options::[Option]) -> ok Types Option = {has, bool()} See external documentation . setItemImage(This::wxTreeCtrl(), Item::integer(), Image::integer()) -> ok See external documentation . setItemImage(This::wxTreeCtrl(), Item::integer(), Image::integer(), Options::[Option]) -> ok Types Option = {which, WxTreeItemIcon} WxTreeItemIcon = integer() See external documentation . WxTreeItemIcon is one of ?wxTreeItemIcon_Normal | ?wxTreeItemIcon_Selected | ?wxTreeItemIcon_Expanded | ?wxTreeItemIcon_SelectedEx- panded | ?wxTreeItemIcon_Max setItemText(This::wxTreeCtrl(), Item::integer(), Text::string()) -> ok See external documentation . setItemTextColour(This::wxTreeCtrl(), Item::integer(), Col::colour() (see module wx)) -> ok See external documentation . setStateImageList(This::wxTreeCtrl(), ImageList::wxImageList() (see module wxImageList)) -> ok See external documentation . setWindowStyle(This::wxTreeCtrl(), Styles::integer()) -> ok See external documentation . sortChildren(This::wxTreeCtrl(), Item::integer()) -> ok See external documentation . toggle(This::wxTreeCtrl(), Item::integer()) -> ok See external documentation . toggleItemSelection(This::wxTreeCtrl(), Item::integer()) -> ok See external documentation . unselect(This::wxTreeCtrl()) -> ok See external documentation . unselectAll(This::wxTreeCtrl()) -> ok See external documentation . unselectItem(This::wxTreeCtrl(), Item::integer()) -> ok See external documentation . destroy(This::wxTreeCtrl()) -> ok Destroys this object, do not use object again AUTHORS
<> wxErlang 0.98.9 wxTreeCtrl(3erl)
All times are GMT -4. The time now is 08:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy