Sponsored Content
Full Discussion: Data arrangement
Top Forums UNIX for Dummies Questions & Answers Data arrangement Post 302085579 by bobo on Friday 18th of August 2006 09:19:14 AM
Old 08-18-2006
Data

I am not making myself clear. Sorry!....But all I want is the data that have a YES or a NO right below Home Tom not one Yes then the other is NO

For Example:

Home Tom
yes
no

Home Tom
no
yes

Home Tom
no yes

I want:

Home Tom
yes
no

Home Tom
yes
no

Home Tom
yes
no

Just either no or yes right under Home Tom! The number is just a number increase or decrease random!

Many thanks!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Text file arrangement

Dear UNIX experts: Hi, I have a text file which the contents are arranged vertically down, line by line. How do use a loop (I think) to make it arrange in vertical arrangement with a tab delimitated and write to a new file? Eg: of source file Hello World Good-day Thanks Welcome The... (8 Replies)
Discussion started by: merry susana
8 Replies

2. UNIX for Dummies Questions & Answers

Cell arrangement

I have a data file with hundreds of lines: I want to place a YES right below the line that say mydata....can someone please help! on the left is my the original data on the right the data format need to be: left > Right mydata > mydata yes > yesno > no mydata > mydata... (12 Replies)
Discussion started by: bobo
12 Replies

3. UNIX for Dummies Questions & Answers

Data arrangement

10 2 1 2 3 4 5 6 7 8 20 3 2 1 3 2 9 8 2 1 Need the data to be arranged: 10 2 1 5 2 6 3 7 4 8 20 3 2 1 1 2 3 8 2 9 please help! (6 Replies)
Discussion started by: bobo
6 Replies

4. UNIX for Dummies Questions & Answers

Help on file arrangement

Can anyone help me on this. I have a file that looks like this: color red green blue color pink yellow number one two gender male gender female The output would look like this: color red green blue pink yellow number one two gender male female I have over 5000 rows and i dont want... (5 Replies)
Discussion started by: kharen11
5 Replies

5. Shell Programming and Scripting

sorting/arrangement problem

Hi, I have the following 'sorting' problem. Given the input file: a:b:c:12:x:k s:m:d:8:z:m a:b:c:1:x:k p:q:r:23:y:m a:b:c:3:x:k p:q:r:1:y:m the output I expect is: a:b:c:1:x:k p:q:r:1:y:m s:m:d:8:z:m What happened here is I grouped together lines having the same values for... (7 Replies)
Discussion started by: Abhishek Ghose
7 Replies

6. Shell Programming and Scripting

Re-arrangement of data

Dear Frineds, I have a flat file as follows ABCD ABDCWQE POIERAS ADSGASGFG GHJKFHD XBDFGHFGDH POIU IJPFG AFGJFPGOU A;DGUPGU SFSDFDSDFHDSF SDFGHSFDH I want this column to be converted into row like follows ABCD, ABDCWQE, POIERAS, ADSGASGFG, GHJKFHD, XBDFGHFGDH (6 Replies)
Discussion started by: anushree.a
6 Replies

7. Shell Programming and Scripting

Help to data re-arrangement problem

Input file <data id>="1">\ </data>\ <data id>="2">\ </data>\ <code>="1" target="2">\ </code>\ <data id>="1">\ </data>\ <data id>="2">\ </data>\ <code>="1" target="2">\ </code>\ <data id>="1">\ </data>\ <data id>="2">\ </data>\ <code>="1" target="2">\ </code>\ (2 Replies)
Discussion started by: cpp_beginner
2 Replies

8. Shell Programming and Scripting

Help with data re-arrangement problem facing

Input file: <symbol>Q9Y8G1</symbol> <name>Q9Y8G1_EMENI</name> <symbol>Q6V953</symbol> <symbol>Q5B8K1</symbol> <name>Q6V953_EMENI</name> <symbol>G1A416</symbol> <name>G1A416_9FUNG</name> <symbol>D4N894</symbol> <name>D4N894_PLEER</name> <symbol>B0FFU4</symbol>... (13 Replies)
Discussion started by: cpp_beginner
13 Replies

9. UNIX for Advanced & Expert Users

Data re-arrangement

Hi I have a huge problem to solve ASAP. Can someone please help!!! My format is arranged in this format: It has three columns. LOGIN ALIAS REC_ID A BB1 0 A ... (1 Reply)
Discussion started by: Mapilo
1 Replies

10. Shell Programming and Scripting

Retreive data with arrangement

Hi all I have following part of a big file TTDS00002 Synonyms M1 receptor TTDS00002 Disease Alzheimer's disease TTDS00002 Disease Bronchospasm (histamine induced) TTDS00002 Disease Cognitive deficits TTDS00002 Disease Schizophrenia TTDS00002 Function The muscarinic acetylcholine... (2 Replies)
Discussion started by: kareena
2 Replies
SoLightElement(3)						       Coin							 SoLightElement(3)

NAME
SoLightElement - The SoLightElement class manages the currently active light sources. SYNOPSIS
#include <Inventor/elements/SoLightElement.h> Inherits SoAccumulatedElement. Public Member Functions virtual void init (SoState *state) virtual void push (SoState *state) Static Public Member Functions static SoType getClassTypeId (void) static int getClassStackIndex (void) static void * createInstance (void) static void initClass (void) static void add (SoState *const state, SoLight *const light, const SbMatrix &matrix) static const SoNodeList & getLights (SoState *const state) static const SbMatrix & getMatrix (SoState *const state, const int index) Protected Member Functions SoLightElement (void) virtual ~SoLightElement () Protected Attributes SoNodeList lights SbList< SbMatrix > * matrixlist Detailed Description The SoLightElement class manages the currently active light sources. Constructor &; Destructor Documentation SoLightElement::SoLightElement (void) [protected] The constructor SoLightElement::~SoLightElement (void) [protected], [virtual] The destructor. Member Function Documentation SoType SoLightElement::getClassTypeId (void) [static] This static method returns the class type. Reimplemented from SoAccumulatedElement. int SoLightElement::getClassStackIndex (void) [static] This static method returns the state stack index for the class. Reimplemented from SoAccumulatedElement. void * SoLightElement::createInstance (void) [static] This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. void SoLightElement::initClass (void) [static] Initialize relevant common data for all instances, like the type system. Reimplemented from SoAccumulatedElement. void SoLightElement::init (SoState *state) [virtual] This function initializes the element type in the given SoState. It is called for the first element of each enabled element type in SoState objects. Reimplemented from SoAccumulatedElement. void SoLightElement::push (SoState *state) [virtual] This method is called every time a new element is required in one of the stacks. This happens when a writable element is requested, using SoState::getElement() or indirectly SoElement::getElement(), and the depth of the current element is less than the state depth. Override this method if your element needs to copy data from the previous top of stack. The push() method is called on the new element, and the previous element can be found using SoElement::getNextInStack(). Reimplemented from SoAccumulatedElement. void SoLightElement::add (SoState *conststate, SoLight *constlight, const SbMatrix &matrix) [static] Adds light to the list of active lights. matrix should transform the light from the world coordinate system to the view reference coordinate system. const SoNodeList & SoLightElement::getLights (SoState *conststate) [static] Returns the list of light nodes. const SbMatrix & SoLightElement::getMatrix (SoState *conststate, const intindex) [static] Get matrix which transforms light index from the world coordinate system to the view reference system. Member Data Documentation SoLightElement::lights [protected] List of current light nodes. SoLightElement::matrixlist [protected] List of matrices to map from world coordinates to view reference coordinates. To avoid getting a hugs element (sizeof), this list is only allocated in the bottom element, and the pointer to this list is passed along to the other elements. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoLightElement(3)
All times are GMT -4. The time now is 06:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy