12-20-2019
Yes, of course there is a way... there is always "a way".
The "trick" is for you to try to write some code and experiment to learn how to do it.
So, please try to solve this on your own and post back your code and any error messages you got along the way.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi folks,
I need to find the following value:
First,I need to find the starting section by finding the line:
<process-type id="OC4J_RiGHTv_${SCHEMA_NAME}" module-id="OC4J">
Second,under this line I need to find the following line:
<port id="rmi" range="3765-3776"/>
And third,from this line... (4 Replies)
Discussion started by: nir_s
4 Replies
2. Shell Programming and Scripting
Hi All
I have a script which has produced a list, I have used 'sed' to number my list, but i want to list at end of line with the first line starting at zero (0) and brackets round it
ie
My List i want
Hello (0)
this (1)
day (2)
can (3)
be (4)
sed '/./=' filename | sed '/./N; s/\n/) /'... (5 Replies)
Discussion started by: chassis
5 Replies
3. Shell Programming and Scripting
Hi Can any one please post the answer for the above program.................. (4 Replies)
Discussion started by: banta
4 Replies
4. Shell Programming and Scripting
Hi
I want to find whether the argument passed to my script ends in a number or not. Like, I want to find out if the argument is of the form: xyzwpq123 or just of the form xyzwpq.
Can someone please help me!?
Thanks (2 Replies)
Discussion started by: alirezan
2 Replies
5. Shell Programming and Scripting
how to list all files in current directory whose second character is a digit.
i guess i hav to use grep command + ls for this. but dont know how to use? (6 Replies)
Discussion started by: Sgupta
6 Replies
6. Shell Programming and Scripting
Hi Everyone,
a.txt
1272904667;1272904737;1
1272904747;1272904819;1
1272904810;1272904857;1
1272904889;1272904926;1
1272905399;1272905406;1
1272905411;1272905422;1
if i want to get the record, when the a.txt 1st field is between 1272904749 and 1272905399, any simple way by using awk,... (1 Reply)
Discussion started by: jimmy_y
1 Replies
7. Programming
I have to write a c program which takes a 3 digit number n and calculates the value of (2^n)+1 and then determines the number is prime or not.
I have tried to first calculate the value of 2^n and then adding one to it and then apply the logic of prime number.
but the ultimate problem is that... (7 Replies)
Discussion started by: agrawal.prachi
7 Replies
8. UNIX for Dummies Questions & Answers
how can i list all files in my home directory that have a 4 digit id number, the line number where the id is located and the id itself not printing the entire line? (5 Replies)
Discussion started by: hobiwhenuknowme
5 Replies
9. Shell Programming and Scripting
Hello,
I have a text file with lines that look like this:
1974 12 27 -0.72743 -1.0169 2 1.25029
1974 12 28 -0.4958 -0.72926 2 0.881839
1974 12 29 -0.26331 -0.53426 2 0.595623
1974 12 30 7.71432E-02 -0.71887 3 0.723001
1974 12 31 0.187789 -1.07114 3 1.08748
1975 1 1 0.349933 -1.02217... (2 Replies)
Discussion started by: meridionaljet
2 Replies
10. UNIX for Beginners Questions & Answers
list all file whose 3rd char is digit (or Nth position is digit)
what will be the required command? (5 Replies)
Discussion started by: rahul
5 Replies
LEARN ABOUT DEBIAN
soreaderror
SoReadError(3) Coin SoReadError(3)
NAME
SoReadError -
The SoReadError class is used during model import operations.
During model file import, this class will be used to output any error or warning messages.
SYNOPSIS
#include <Inventor/errors/SoReadError.h>
Inherits SoError.
Public Member Functions
virtual SoType getTypeId (void) const
Static Public Member Functions
static void setHandlerCallback (SoErrorCB *const function, void *const data)
static SoErrorCB * getHandlerCallback (void)
static void * getHandlerData (void)
static SoType getClassTypeId (void)
static void post (const SoInput *const input, const char *const format,...)
static void initClass (void)
Protected Member Functions
virtual SoErrorCBPtr getHandler (void *&data) const
Additional Inherited Members
Detailed Description
The SoReadError class is used during model import operations.
During model file import, this class will be used to output any error or warning messages.
Depending on your application, setting up your own error handler callbacks for SoReadError might be a good idea.
Member Function Documentation
void SoReadError::setHandlerCallback (SoErrorCB *constfunction, void *constdata) [static]
This method sets the error handler callback for messages posted via this class.
Note that this will not override the error/debug message handler for subclasses, these will have to be overrided by calling the subclass'
setHandlerCallback() method.
See also:
defaultHandlerCB()
Reimplemented from SoError.
SoErrorCB * SoReadError::getHandlerCallback (void) [static]
Returns the error handler callback for messages posted via this class.
Reimplemented from SoError.
void * SoReadError::getHandlerData (void) [static]
This method returns the pointer used for passing data back to the callback handler method.
Reimplemented from SoError.
SoType SoReadError::getClassTypeId (void) [static]
This static method returns the SoType for this class.
See also:
getTypeId()
Reimplemented from SoError.
SoType SoReadError::getTypeId (void) const [virtual]
This method returns the SoType of a particular object instance.
See also:
getClassTypeId()
Reimplemented from SoError.
void SoReadError::post (const SoInput *constin, const char *constformat, ...) [static]
Method used from import code to post error or warning messages for model files which are not 100% compliant to the format specification.
The messages will be wrapped within information on line number, file offset etc.
void SoReadError::initClass (void) [static]
This method takes care of initializing all static data for the class.
Reimplemented from SoError.
SoErrorCB * SoReadError::getHandler (void *&data) const [protected], [virtual]
This is just a convenience wrapper around the getHandlerCallback() and getHandlerData() methods.
Reimplemented from SoError.
Author
Generated automatically by Doxygen for Coin from the source code.
Version 3.1.3 Wed May 23 2012 SoReadError(3)