Sponsored Content
Full Discussion: while do done loop problem
Top Forums Shell Programming and Scripting while do done loop problem Post 302269156 by manikantants on Wednesday 17th of December 2008 02:22:08 AM
Old 12-17-2008
need to confirm few things.
For the first time:

(1) from which file fcount should be picked up?
(2) from which file icount should be picked up?

For sub sequent run:

(1) from which file fcount should be picked up?
(2) from which file icount should be picked up?
 

10 More Discussions You Might Find Interesting

1. Programming

problem with while loop

hi all, i have written the following code: while(proceed !='Y' && proceed!='N' && proceed!='y' && proceed!='n') { printf("\nPress \n\t 'Y' or 'y' to continue \n\t 'N' or 'n' to cancel:"); scanf("%c",&proceed); } the output i am gettin is: Press 'Y' to continue ... (1 Reply)
Discussion started by: mridula
1 Replies

2. Shell Programming and Scripting

for loop problem

Hi, I have a directory called logs in which i have the log files. i have to touch the file before deleting it. i am doing like this filestodelete="*.log* *log*" for files in $filestodelete do touch $files $files.$(date +%a) rm -f $filestodelete done touch is not working... (5 Replies)
Discussion started by: namishtiwari
5 Replies

3. UNIX for Advanced & Expert Users

loop problem

Hi guys my while do loop is not working properly; As soon as the load_date and run_date is same it should stop can somebody tell me where I am having the problem? In an oracle table I have LOAD_DT=5/1/2009 DATE datatype RUN_DT=5/5/2009 DATE datatype Now in a script with a spool file I get the... (15 Replies)
Discussion started by: henrysmith
15 Replies

4. Shell Programming and Scripting

Problem in While loop

Hi Guys, This is my code.. I am getting an error in the inside while statement when comparing.. I am not able to figure it out.. Pls help me... while read value fatherid son_id top_id r_type do inside_value=1; echo $inside_value; echo $r_type; while do echo... (6 Replies)
Discussion started by: mac4rfree
6 Replies

5. Shell Programming and Scripting

problem with while loop

hi I had created a while loop in a script file called whiletest.sh as follows as follows: count=0 max=10 while do echo $count echo count=$(count+1)" " done echo "value of count:$count" then i run the script with the command sh whilestest.sh but its giving me an error... (5 Replies)
Discussion started by: angel12345
5 Replies

6. UNIX for Dummies Questions & Answers

While loop problem

I have a while loop with -f and -o option.Can any one please tell me what that stands for?The Sample code is as follows:- while do ## some processing done (10 Replies)
Discussion started by: Param0073
10 Replies

7. Shell Programming and Scripting

Problem with While loop.

Hi Script Gurus, I am facing issue with while loop in bash. The while loop is running as end less loop even after given criteria does not meet. STATE_BEFORE_SPLIT () { for clone in $Clonegroups; do state=$( $Navicmd -listclone -name $clone -cloneid $Cloneid |awk... (3 Replies)
Discussion started by: RobP
3 Replies

8. Shell Programming and Scripting

Problem with loop within loop

Hi, I work on Ab-initio ETL tool which is based on Unix. I made a small script which has two loop's one with in another. All the functionality is working for the first line of outer loop but when it comes to other lines of outer loop it is throwing error as command not found. Below is the... (4 Replies)
Discussion started by: Ravindra Swan
4 Replies

9. Shell Programming and Scripting

Problem with While Do loop

I am trying to do a while do loop that asks for a password and returns if the password entered is incorrect. I have that part working however i want to modify it so that if a similar word is entered it will read "that is close but incorrect" and i cannot seem to get it working, being new in the... (6 Replies)
Discussion started by: lm5522
6 Replies

10. Shell Programming and Scripting

Problem with loop

Hi all, a problem with a loop. Imagine it starts with var1="$(cat txtif.out )"while do echo file1 echo file2 echo y > txtif.out if then break fi done exit 0 the problem is that if the file is changing during the loop seems to continue as it reads "x" state,... (5 Replies)
Discussion started by: Board27
5 Replies
Miscellaneous Classes(3)					       Coin						  Miscellaneous Classes(3)

NAME
Miscellaneous Classes - Classes class SoFieldContainer The SoFieldContainer class is a base class for all classes that contain fields. The classes containing fields in Coin are the node and engine classes, so they are all subclasses of SoFieldContainer. " class SoInput The SoInput class is an abstraction of file import functionality. This class takes care of most of the chores of doing data import in Coin. It puts a layer of abstraction over the read operations to make it transparent for the rest of the Coin code whether or not we're reading from a file, from a memory buffer or from stdin. " class SoOutput The SoOutput class is an abstraction of an output stream. SoOutput offers the ability to write basic types to a file or a memory buffer in either ASCII or binary format. " class SoAuditorList The SoAuditorList class is used to keep track of auditors for certain object classes. This class is mainly for internal use (from SoBase) and it should not be necessary to be familiar with it for 'ordinary' Coin use. " class SoBaseList The SoBaseList class is a container for pointers to SoBase derived objects. The additional capability of the SoBaseList class over its parent class, SbPList, is to automatically handle referencing and dereferencing of items as they are added or removed from the lists. " class SoCallbackList The SoCallbackList is a container for callback function pointers. This list stores callback function pointers (along with user-specified extra data to pass to the callbacks) and provides a method for triggering the callback functions. " class SoPathList The SoPathList class is a container for pointers to SoPath objects. As this class inherits SoBaseList, referencing and dereferencing will default be done on the objects at append(), remove(), insert() etc. " class SoPickedPointList The SoPickedPointList class is a container for pointers to SoPickedPoint objects. This list class will delete the picked points when destructed/truncated, or when a picked point in the list is replaced by another picked point The caller is responsible for allocating the picked points passed to the list, but should not deallocate them since this will be handled by the list. " class SoTypeList The SoTypeList class is a container class for arrays of SoType objects. class SoAudioDevice The SoAudioDevice class is used to control an audio device. The SoAudioDevice class is responsible for initialization of an audio device, as well as enabling and disabling sound. It is a singleton class. " class SoBase The SoBase class is the top-level superclass for a number of class-hierarchies. SoBase provides the basic interfaces and methods for doing reference counting, type identification and import/export. All classes in Coin which uses these mechanisms are descendent from this class. " class SoChildList The SoChildList class is a container for node children. This class does automatic notification on the parent nodes upon adding or removing children. " class SoContextHandler The SoContextHandler class is for now to be treated as an internal class. class SoDB The SoDB class keeps track of internal global data. This class collects various methods for initializing, setting and accessing common global data from the Coin library. " class SoFullPath The SoFullPath class allows examination of hidden children in paths. SoPath allows only access from the head node to the first node with hidden children, but not any further. " class SoInteraction The SoInteraction class takes care of initalizing internal classes. SoInteraction is present for the sole purpose of providing an interface to the initialization methods of the classes in Coin which are somehow related to user interaction, like the draggers and manipulators. " class SoLightPath The SoLightPath class is a light version of SoPath. SoLightPath can be used if you only need a temporary path, and don't want the overhead that comes with an SoPath (ref, unref, auditing etc). " class SoLockManager The SoLockManager is a defunct software license lock mechanism. This is just a dummy implementation of the TGS Inventor class used to provide a license locking mechanism. Since Coin can be used without any royalty fees or client-site license locks, no such mechanism is needed. " class SoNormalGenerator The SoNormalGenerator class is used to generate normals. FIXME: document properly. " class SoNotRec The SoNotRec class specifies records for notification lists. class SoNotList The SoNotList class is a list of SoNotRec notification records. class SoOffscreenRenderer The SoOffscreenRenderer class is used for rendering scenes in offscreen buffers. If you want to render to a memory buffer instead of an on-screen OpenGL context, use this class. Rendering to a memory buffer can be used to generate texture maps on-the-fly, or for saving snapshots of the scene to disk files (as pixel bitmaps or as Postscript files for sending to a Postscript-capable printer). " class SoPath The SoPath class is a container class for traversal path descriptions. SoPath objects contain a list of SoNode pointers and a list of child indices. Indices are necessary to disambiguate situations where a node uses the same node as a child multiple times. " class SoPickedPoint The SoPickedPoint class is used for specifying picked points. It holds miscellaneous information about the picked point, such as position, normal, texture coordinate and material index in the current material. It might also hold detail information (an SoDetail subclass) for every node in the picked path. " class SoPrimitiveVertex The SoPrimitiveVertex class represents a single vertex of a generated primitive. Instances of SoPrimitiveVertex are constructed when generating primitive data, primarily during an SoCallbackAction traversal. Depending on the context the vertex could represent a single 3D point, one of the two vertices in a line or one of the three vertices in a triangle. " class SoSceneManager The SoSceneManager class provides the main interface between the scene graph and the GUI toolkit. The renderarea class from the GUI toolkit you are using uses this class as the interface against the scene graph. Event handling and providing 'hooks' to do rendering are the main functions of the class. " class SoState The SoState class manages the Coin scenegraph traversal state data. The SoState class is used by actions derived from the SoAction class. It manages the scenegraph state as stacks of elements (ie instances of classes derived from SoElement). " class SoTempPath The SoTempPath class is used to store temporary paths. The path simply turns off auditing in the constructor, and leaves the user with the responsibility of keeping the path valid. " class SoType The SoType class is the basis for the run-time type system in Coin. Many of the classes in the Coin library must have their type information registered before any instances are created (including, but not limited to: engines, nodes, fields, actions, nodekits and manipulators). The use of SoType to store this information provides lots of various functionality for working with class hierarchies, comparing class types, instantiating objects from classnames, etc etc. " Detailed Description Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 Miscellaneous Classes(3)
All times are GMT -4. The time now is 01:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy