Sponsored Content
Full Discussion: Record count of a csv file
Top Forums Shell Programming and Scripting Record count of a csv file Post 302215902 by ajaykk on Thursday 17th of July 2008 12:08:15 PM
Old 07-17-2008
~bump~
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to delete a record from a csv file

Hi Guys I have downloaded a table from oracle database in .csv format. it has many fields as Title, First Name, Last Name etc. I have to download distinct titles from database and now i have to check all those titles from data of First Name one by one. and then i have to delete matched record.... (1 Reply)
Discussion started by: Rajeev Agrawal
1 Replies

2. UNIX for Dummies Questions & Answers

How to count the record count in an EBCDIC file.

How do I get the record count in an EBCDIC file on a Linux Box. :confused: (1 Reply)
Discussion started by: oracle8
1 Replies

3. UNIX for Dummies Questions & Answers

how to get a file name & record count of csv file

HI , I am new to shell scripting , I have a requirement that I send a file for data quality ( original.csv) & i will be getting 4 files daily into a particular directory in return with cleansed data . the files may be clean.csv, unclean.csv , ... (2 Replies)
Discussion started by: sirik
2 Replies

4. Shell Programming and Scripting

replaying a record count with another record count

i use unix command to take the record count for a file1 awk 'END{print NR}' filename i already have a file2 which conatin the count like ... .. rec_cnt=100 .. .. I want to replace the record in the file2 using the record i take from file1. suggest me some simple ways of doing it... (2 Replies)
Discussion started by: er_zeeshan05
2 Replies

5. Shell Programming and Scripting

Split long record into csv file

Hi I receive a mainframe file which has very long records (1100 chars) with no field delimiters. I need to parse each record and output a comma delimited (csv) file. The record layout is fixed. If there weren't so many fields and records I would read the file into Excel, as a "fixed width"... (10 Replies)
Discussion started by: wvdeijk
10 Replies

6. Shell Programming and Scripting

csv file - adding total to a trailer record

Hi, I have a script which creates and modifies a csv file. I have managed to do everything I need to do apart from 1 thing. I need to append a trailer record to the file. I need this line to hold the total of an entire column of the csv file (skipping the 1st line which is a header). Can... (2 Replies)
Discussion started by: mcclunyboy
2 Replies

7. Shell Programming and Scripting

Print record count of a file using shell script

HI, I need to print the record count of a file using shell script. If the record count of a file excluding header and trailer record if greater than zero then print 'Record count of a file is xxxx records'. If the record count is zero print 'zero records' Thanks Mahendra (1 Reply)
Discussion started by: mmeda
1 Replies

8. Shell Programming and Scripting

Output first unique record in csv file

Hi, I have to output a new csv file from an input csv file with first unique value in the first column. input csv file color product id status green 102 pass yellow 201 hold yellow 202 keep green 101 ok green 103 hold yellow 203 ... (5 Replies)
Discussion started by: Chris LAU
5 Replies

9. Shell Programming and Scripting

Shell script for field wise record count for different Files .csv files

Hi, Very good wishes to all! Please help to provide the shell script for generating the record counts in filed wise from the .csv file My question: Source file: Field1 Field2 Field3 abc 12f sLm 1234 hjd 12d Hyd 34 Chn My target file should generate the .csv file with the... (14 Replies)
Discussion started by: Kirands
14 Replies

10. Shell Programming and Scripting

Total record count of all the file present in a directory

Hi All , We need one help on the below requirement.We have multiple pipe delimited .txt file(around 100 .txt files) present on one directory.We need the total record count of all the files present in that directory without header.File format as below : ... (8 Replies)
Discussion started by: STCET22
8 Replies
SoBumpMapMatrixElement(3)					       Coin						 SoBumpMapMatrixElement(3)

NAME
SoBumpMapMatrixElement - The SoBumpMapMatrixElement class is used to manage the bump map matrix stack. The bump map matrix is used to transform bump map coordinates before being used to map bump maps onto polygons. SYNOPSIS
#include <Inventor/elements/SoBumpMapMatrixElement.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 makeIdentity (SoState *const state, SoNode *const node) static void set (SoState *const state, SoNode *const node, const SbMatrix &matrix) static void mult (SoState *const state, SoNode *const node, const SbMatrix &matrix) static void translateBy (SoState *const state, SoNode *const node, const SbVec3f &translation) static void rotateBy (SoState *const state, SoNode *const node, const SbRotation &rotation) static void scaleBy (SoState *const state, SoNode *const node, const SbVec3f &scaleFactor) static const SbMatrix & get (SoState *const state) Protected Member Functions virtual ~SoBumpMapMatrixElement () virtual void makeEltIdentity (void) virtual void setElt (const SbMatrix &matrix) virtual void multElt (const SbMatrix &matrix) virtual void translateEltBy (const SbVec3f &translation) virtual void rotateEltBy (const SbRotation &rotation) virtual void scaleEltBy (const SbVec3f &scaleFactor) virtual const SbMatrix & getElt (void) const Protected Attributes SbMatrix bumpMapMatrix Detailed Description The SoBumpMapMatrixElement class is used to manage the bump map matrix stack. The bump map matrix is used to transform bump map coordinates before being used to map bump maps onto polygons. Constructor &; Destructor Documentation SoBumpMapMatrixElement::~SoBumpMapMatrixElement (void) [protected], [virtual] The destructor. Member Function Documentation SoType SoBumpMapMatrixElement::getClassTypeId (void) [static] This static method returns the class type. Reimplemented from SoAccumulatedElement. int SoBumpMapMatrixElement::getClassStackIndex (void) [static] This static method returns the state stack index for the class. Reimplemented from SoAccumulatedElement. void * SoBumpMapMatrixElement::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 SoBumpMapMatrixElement::initClass (void) [static] Initialize relevant common data for all instances, like the type system. Reimplemented from SoAccumulatedElement. void SoBumpMapMatrixElement::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 SoBumpMapMatrixElement::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 SoBumpMapMatrixElement::makeIdentity (SoState *conststate, SoNode *constnode) [static] Sets current texture matrix to identity. void SoBumpMapMatrixElement::set (SoState *conststate, SoNode *constnode, const SbMatrix &matrix) [static] Sets the current texture matrix to matrix. This method is an extension versus the Open Inventor API. void SoBumpMapMatrixElement::mult (SoState *conststate, SoNode *constnode, const SbMatrix &matrix) [static] Multiplies matrix into the current texture matrix. void SoBumpMapMatrixElement::translateBy (SoState *conststate, SoNode *constnode, const SbVec3f &translation) [static] Appends translation to the current texture matrix. void SoBumpMapMatrixElement::rotateBy (SoState *conststate, SoNode *constnode, const SbRotation &rotation) [static] Appends rotation to the current texture matrix. void SoBumpMapMatrixElement::scaleBy (SoState *conststate, SoNode *constnode, const SbVec3f &scaleFactor) [static] Appends scaleFactor to the current texture matrix. const SbMatrix & SoBumpMapMatrixElement::get (SoState *conststate) [static] Returns current texture matrix. void SoBumpMapMatrixElement::makeEltIdentity (void) [protected], [virtual] virtual method which is called from makeIdentity(). Sets element matrix to identity. void SoBumpMapMatrixElement::setElt (const SbMatrix &matrix) [protected], [virtual] virtual method which is called from set(). Sets the texture matrix to matrix. This method is an extension versus the Open Inventor API. void SoBumpMapMatrixElement::multElt (const SbMatrix &matrix) [protected], [virtual] virtual method which is called from mult(). Multiplies matrix into element matrix. void SoBumpMapMatrixElement::translateEltBy (const SbVec3f &translation) [protected], [virtual] virtual method which is called from translateBy(). Appends translation to the element matrix. void SoBumpMapMatrixElement::rotateEltBy (const SbRotation &rotation) [protected], [virtual] virtual method which is called from rotateBy(). Appends rotation to the element matrix. void SoBumpMapMatrixElement::scaleEltBy (const SbVec3f &scaleFactor) [protected], [virtual] virtual method which is called from scaleBy(). Append scaleFactor to the element matrix. const SbMatrix & SoBumpMapMatrixElement::getElt (void) const [protected], [virtual] Returns element matrix. Called from get(). Member Data Documentation SoBumpMapMatrixElement::bumpMapMatrix [protected] The matrix. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoBumpMapMatrixElement(3)
All times are GMT -4. The time now is 12:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy