Hello Guru's
I know there are people who live to be able to help people like me. That's why I'm here!
I have a text file that has a corresponding address information that I need to be able to get maybe as a Unix Function.
The text file contains the following:
AIX17_JB_C;... (3 Replies)
Hey Guys.I am a newbie on Bash Shell Scripting and Perl.And I have a question about file parsing.
I have a log file which contains reports about a communication device.I need to take some of the reports from the log file.Its hard to explain the issue.but shortly I can say that, the reports has a... (2 Replies)
Hi,
I need some help in extracting the Exception block between the lines
21 Feb 01:18:54:146 ERROR com.orbits.frameworks.integrationframework.ValidationException - Caught exception in validateRequest() (PID=565584)
and
21 Feb 01:18:55:149 INFO ... (0 Replies)
Any ideas?
1)loop through text file
2)extract everything between SOL and EOL
3)output files, for example: 123.txt and 124.txt for the file below
So far I have: sed -n "/SOL/,/EOL/{p;/EOL/q;}" file
Here is an example of my text file.
SOL-123.go
something goes here
something goes... (0 Replies)
Hi everyone,
I'm having trouble figuring this one out. I have ~100 *.fa files with multiple lines of fasta sequences like this: file1.fa
>xyzsequence
atcatgcacac......
ataccgagagg.....
atataccagag.....
>abcsequence
atgagatatat.....
acacacggd.....
atcgaacac....
agttccagat....
The... (2 Replies)
I was trying to parse the text file, which will looks like this
###XYZABC####
############
int = 4
char = 1
float = 1
.
.
############
like this my text file will contains lots of entries and I need to store these entries in the map eg. map.first = int and map.second = 4 same way I... (5 Replies)
I'm totally stumped with how to handle this huge text file I'm trying to deal with. I really need some help!
Here is what is looks like:
ab1ba67c331a3d731396322fad8dd71a3b627f89359827697645c806091c40b9
0.2
812a3c3684310045f1cb3157bf5eebc4379804e98c82b56f3944564e7bf5dab5
0.6
0.6... (3 Replies)
Hi Friends,
I am back for the second round today - :D
My input text file is this way
Home
friends
friendship meter
Tools
Mirrors
Downloads
My Data
About Us
Help
My own results
BLAT Search Results
ACTIONS QUERY SCORE START END QSIZE IDENTITY CHRO STRAND ... (7 Replies)
I have two files (first.txt and second.txt):
more first.txt
cat mammal
lizard reptile
Elephant mammal
ant Insecta
more second.txt
ant termite
ant army_ant (9 Replies)
Discussion started by: cs_novice
9 Replies
LEARN ABOUT REDHAT
glinterleavedarrays
GLINTERLEAVEDARRAYS(3G)GLINTERLEAVEDARRAYS(3G)NAME
glInterleavedArrays - simultaneously specify and enable several interleaved arrays
C SPECIFICATION
void glInterleavedArrays( GLenum format,
GLsizei stride,
const GLvoid *pointer )
PARAMETERS
format Specifies the type of array to enable. Symbolic constants GL_V2F, GL_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_C3F_V3F, GL_N3F_V3F,
GL_C4F_N3F_V3F, GL_T2F_V3F, GL_T4F_V4F, GL_T2F_C4UB_V3F, GL_T2F_C3F_V3F, GL_T2F_N3F_V3F, GL_T2F_C4F_N3F_V3F, and
GL_T4F_C4F_N3F_V4F are accepted.
stride Specifies the offset in bytes between each aggregate array element.
DESCRIPTION
glInterleavedArrays lets you specify and enable individual color, normal, texture and vertex arrays whose elements are part of a larger
aggregate array element. For some implementations, this is more efficient than specifying the arrays separately.
If stride is 0, the aggregate elements are stored consecutively. Otherwise, stride bytes occur between the beginning of one aggregate
array element and the beginning of the next aggregate array element.
format serves as a ``key'' describing the extraction of individual arrays from the aggregate array. If format contains a T, then texture
coordinates are extracted from the interleaved array. If C is present, color values are extracted. If N is present, normal coordinates are
extracted. Vertex coordinates are always extracted.
The digits 2, 3, and 4 denote how many values are extracted. F indicates that values are extracted as floating-point values. Colors may
also be extracted as 4 unsigned bytes if 4UB follows the C. If a color is extracted as 4 unsigned bytes, the vertex array element which
follows is located at the first possible floating-point aligned address.
NOTES
glInterleavedArrays is available only if the GL version is 1.1 or greater.
If glInterleavedArrays is called while compiling a display list, it is not compiled into the list, and it is executed immediately.
Execution of glInterleavedArrays is not allowed between the execution of glBegin and the corresponding execution of glEnd, but an error may
or may not be generated. If no error is generated, the operation is undefined.
glInterleavedArrays is typically implemented on the client side.
Vertex array parameters are client-side state and are therefore not saved or restored by glPushAttrib and glPopAttrib. Use
glPushClientAttrib and glPopClientAttrib instead.
When the GL_ARB_multitexture extension is supported, glInterleavedArrays only updates the texture coordinate array for the active active
texture unit. The texture coordinate state for other client texture units is not update, regardless if they are enabled or not.
ERRORS
GL_INVALID_ENUM is generated if format is not an accepted value.
GL_INVALID_VALUE is generated if stride is negative.
SEE ALSO glArrayElement(3G), glClientActiveTextureARB(3G), glColorPointer(3G), glDrawArrays(3G), glDrawElements(3G), glEdgeFlagPointer(3G),
glEnableClientState(3G), glGetPointer(3G), glIndexPointer(3G), glNormalPointer(3G), glTexCoordPointer(3G), glVertexPointer(3G)GLINTERLEAVEDARRAYS(3G)