Hi,
Can any one tell me how to replace one or more tabs from start of the line and in between the words with commas in the file using unix commands?
My actual data in the text file is as below with spaces.The spaces are not being shown in the post..please see them while replying to the post.... (1 Reply)
Hello all
i am working on a database to import log files from my systems, but i cannot seem to find the answer. I searched here for a good bit and couldnt peice together what i was looking for.
I know you could do this with awk, i just dont know how. Any help would be greatly appreciated.... (6 Replies)
TEST_HEME,"SubNetwork=ONRM_RootMoR,SubNetwork=ARNC1",CELL
when I split by
FS=","
then
$0=TEST_HEME
$1="SubNetwork=ONRM_RootMoR
$2=SubNetwork=ARNC1"
but I need this will be single value
"SubNetwork=ONRM_RootMoR,SubNetwork=ARNC1" (4 Replies)
Hi everybody,
I`m very new with PHP and Databases and I having the follow issue with prices data..
The original information is in CSV files.
The prices have formatted with commas and dots as follow:
12,300.99 -->(thousands separated by commas)
3,500.25 -->(thousands separated... (10 Replies)
I have a record like the one given below.
010000306551~IN ~N~ |WINDWARD PK|Alpharetta|
If ~ is present more than instance in a line,then I need to delete those instances.
Any ideas?
I am working in Solaris (7 Replies)
Hey guys,
I have the following text:
1,2,3,4,5,6,'NULL','when',NULL,1,2,0,'NULL'
1,2,3,4,5,6,'NULL','what','NULL',1,2,0,1
I need the same text with the word NULL without commas
u know something like this:
1,2,3,4,5,6,NULL,'when',NULL,1,2,0,NULL
1,2,3,4,5,6,NULL,'what','NULL',1,2,0,1
... (1 Reply)
Good afternoon,
I am trying to read user input.
Here is what I have so far:
echo "Type the Container ID for every container that you want subnets exported"
echo "for (with comma between each one, for example... 1,45,98)"
echo -n "if you want every one listed, then just type ALL in caps... (2 Replies)
Hello experts,
I need to validate a csv file which contains data like this:
Sample.csv
"ABCD","I",23,0,9,,"23/12/2012","OK","Street,State, 91135",0
"ABCD","I",23,0,9,,"23/12/2012","OK","Street,State, 91135",0
I just need to check if all the records contain exactly the number of... (5 Replies)
Hi Gurus,
I did an exhaustive search for finding the script using "sed" to exclude the first line of file during find and replace.
The first line in my file is the header names.
Thanks for your help.. (4 Replies)
Hi,
My input file is like this
chr1 + "NM_1234"
chr1 - "NM_1234"
If I want my third column to contain both the first and second column values, how do I do it?
I know how to do it by including the column numbers, but I want the values before the inverted commas.
So, my output would... (5 Replies)
Discussion started by: jacobs.smith
5 Replies
LEARN ABOUT XFREE86
glbindtexture
GLBINDTEXTURE(3G)GLBINDTEXTURE(3G)NAME
glBindTexture - bind a named texture to a texturing target
C SPECIFICATION
void glBindTexture( GLenum target,
GLuint texture )
PARAMETERS
target Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, or GL_TEXTURE_3D.
texture Specifies the name of a texture.
DESCRIPTION
glBindTexture lets you create or use a named texture. Calling glBindTexture with
target set to GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D and texture set to the name of the newtexture binds the texture name to the tar-
get. When a texture is bound to a target, the previous binding for that target is automatically broken.
Texture names are unsigned integers. The value zero is reserved to represent the default texture for each texture target. Texture names
and the corresponding texture contents are local to the shared display-list space (see glXCreateContext) of the current GL rendering con-
text; two rendering contexts share texture names only if they also share display lists.
You may use glGenTextures to generate a set of new texture names.
When a texture is first bound, it assumes the dimensionality of its target: A texture first bound to GL_TEXTURE_1D becomes one-dimen-
sional, and a texture first bound to GL_TEXTURE_2D becomes two-dimensional, and a texture first bound to GL_TEXTURE_3D becomes a three-
dimensional texture. The state of a one-dimensional texture immediately after it is first bound is equivalent to the state of the default
GL_TEXTURE_1D at GL initialization, and similarly for two-, and three-dimensional textures.
While a texture is bound, GL operations on the target to which it is bound affect the bound texture, and queries of the target to which it
is bound return state from the bound texture. If texture mapping of the dimensionality of the target to which a texture is bound is active,
the bound texture is used. In effect, the texture targets become aliases for the textures currently bound to them, and the texture name
zero refers to the default textures that were bound to them at initialization.
A texture binding created with glBindTexture remains active until a different texture is bound to the same target, or until the bound tex-
ture is deleted with glDeleteTextures.
Once created, a named texture may be re-bound to the target of the matching dimensionality as often as needed. It is usually much faster
to use glBindTexture to bind an existing named texture to one of the texture targets than it is to reload the texture image using
glTexImage1D, glTexImage2D, or glTexImage3D. For additional control over performance, use glPrioritizeTextures.
glBindTexture is included in display lists.
NOTES
glBindTexture is available only if the GL version is 1.1 or greater.
ERRORS
GL_INVALID_ENUM is generated if target is not one of the allowable values.
GL_INVALID_OPERATION is generated if texture has a dimensionality that doesn't match that of target.
GL_INVALID_OPERATION is generated if glBindTexture is executed between the execution of glBegin and the corresponding execution of glEnd.
ASSOCIATED GETS
glGet with argument GL_TEXTURE_BINDING_1D
glGet with argument GL_TEXTURE_BINDING_2D
glGet with argument GL_TEXTURE_BINDING_3D
SEE ALSO glAreTexturesResident(3G), glDeleteTextures(3G), glGenTextures(3G), glGet(3G),
glGetTexParameter(3G), glIsTexture(3G), glPrioritizeTextures(3G), glTexImage1D(3G), glTexImage2D(3G), glTexParameter(3G)GLBINDTEXTURE(3G)