I wrote script in bash which generates this report:
phrase1;phrase2;phrase3;phrase4;phrase5;phrase6;phrase7;phrase8
phrase9;phrase2;phrase10;phrase4;phrase11;phrase12;phrase13;phrase14
phrase15;phrase16;phrase17;phrase18;phrase19;phrase20;phrase21;phrase22
...
I would like add name only... (3 Replies)
Hi Experts,
The question may look very silly by seeing the title, but please have a look at it clearly.
I have a text file where the first 5 columns in each row were supposed to be attributes of a sample(like sample name, number, status etc) and the next 25 columns are parameters on which... (3 Replies)
Hi,
I have a table in Db2 with data say
id_1 phase1
id_1 phase2
id_1 phase3
id_2 phase1
id_2 phase2
I need to concatenate the values like
id_1 phase1,phase2,phase3
id_2 phase1,phase2
I tried recursive query but in vain as the length of string to be concatenated in quite long. ... (17 Replies)
Hi,
I've got a file with 3 columns which ends like this:
...
1234 345 1400
5287 733 1400
8472 874 1400
9317 726 1400
I want to replace the last row of the last column with the value 0. So my new file will end:
...
1234 345 1400
5287 733 1400
8472 874 1400
9317 726 ... (5 Replies)
Hi,
I'm using AIX(ksh shell).
> cat temp.txt
"a","b",0
"c",bc",0
"a1","b1",0
"cc","cb",1
"cc","b2",1
"bb","bc",2
I want the output as:
"a","b","c","bc","a1","b1"
"cc","cb","cc","b2"
"bb","bc"
I want to combine multiple lines into single line where third column is same.
Is... (1 Reply)
Hi, I'm writing a ksh script and trying to use an awk / sed / or perl one-liner to remove the last 4 characters of a line in a file if it begins with a period.
Here is the contents of the file... the column in which I want to remove the last 4 characters is the last column. ($6 in awk). I've... (10 Replies)
Greetings!
I have been trying to find out a way to take a CSV file with a large number of rows, and a very large number of columns (in the thousands) and convert the rows to a single column of data, where the first row is a header representing the attribute name and the subsequent series of... (3 Replies)
Hi, I wanted to add each row of file2.txt to entire length of file1.txt given the sample data below and save it as new file. Any idea how to efficiently do it. Thank you for any help.
input file
file1.txt file2.txt
140 30 200006 141 32
140 32 200006 142 33
140 35 200006 142... (5 Replies)
Hi would like to ask you guys any advise regarding my problem
I have this kind of data
file.txt
111111111,20
111111111,50
222222222,70
333333333,40
444444444,10
444444444,20
I need to get this
file1.txt
111111111,70
222222222,70
333333333,40
444444444,30
using this code I can... (6 Replies)
Discussion started by: reks
6 Replies
LEARN ABOUT DEBIAN
sonotlist
SoNotList(3) Coin SoNotList(3)NAME
SoNotList -
The SoNotList class is a list of SoNotRec notification records.
SYNOPSIS
#include <Inventor/misc/SoNotification.h>
Public Member Functions
SoNotList (void)
SoNotList (const SoNotList *nl)
void append (SoNotRec *const rec)
void append (SoNotRec *const rec, SoField *const field)
void append (SoNotRec *const rec, SoEngineOutput *const engineout)
void setLastType (const SoNotRec::Type type)
SoNotRec * getFirstRec (void) const
SoNotRec * getLastRec (void) const
SoNotRec * getFirstRecAtNode (void) const
SoField * getLastField (void) const
SoEngineOutput * getLastEngineOutput (void) const
uint32_t getTimeStamp (void) const
void print (FILE *const file=stdout) const
Detailed Description
The SoNotList class is a list of SoNotRec notification records.
Constructor & Destructor Documentation
SoNotList::SoNotList (void)
Initialize list.
SoNotList::SoNotList (const SoNotList *nl)
Copy constructor. Does a bitwise copy of the nl object (no duplication of list elements).
Member Function Documentation
void SoNotList::append (SoNotRec *constrec)
Append rec notification source to the list.
void SoNotList::append (SoNotRec *constrec, SoField *constfield)
Append rec notification source to the list, setting field as the last field having been influenced by the notification process.
void SoNotList::append (SoNotRec *constrec, SoEngineOutput *constengineout)
Append rec notification source to the list, setting engineout as the last engine output field having been influenced by the notification
process.
void SoNotList::setLastType (const SoNotRec::Typetype)
Set the type of the last notification record in the list.
SoNotRec * SoNotList::getFirstRec (void) const
Returns the first record in the list.
SoNotRec * SoNotList::getLastRec (void) const
Returns the last record in the list.
SoNotRec * SoNotList::getFirstRecAtNode (void) const
Returns the first record in the list which is derived from SoBase.
SoField * SoNotList::getLastField (void) const
Returns the last field touched by notification.
SoEngineOutput * SoNotList::getLastEngineOutput (void) const
Returns the last engine output field touched by notification.
uint32_t SoNotList::getTimeStamp (void) const
Returns the time stamp when the notification started.
void SoNotList::print (FILE *constfile = stdout) const
Dump contents of list from tail record and backwards. Only available if compiled with debug information on.
Author
Generated automatically by Doxygen for Coin from the source code.
Version 3.1.3 Wed May 23 2012 SoNotList(3)