Hi,
I'm trying to write a script, which will perform the following actions.
Pick up the IP address of the PC I have used to telnet into the SUN server.
Export this.
Run the rest of my script.
I am struggling with the first part, I know the IP address can be displayed by the command... (2 Replies)
Hi,
I have 5 files in a directory.
emp1_usage.txt
emp2_usage.txt
emp3_usage.txt
emp4_usage.txt
emp5_usage.txt
I am using sqlldr to get the contents of the above 5 files and store it in a temp table and update my original table using temp table.
for f in *emp*.txt
do
sqlldr... (3 Replies)
Hello experts,
i am using sun solaris 9
i try to searching string from a file using more command.
I wish when i search a string it will higlight the string/strings from the file.
Have any idea how to do it..?
I use putty.
br//purple (9 Replies)
I have 2 files. I basically want to search both of them to see if the 1st column ($1) matches and if it matches then check to see if the 2nd column ($2) matches, then execute some code showing the results of the matches.
File 1:
AAA 123
misc blah
BBB 456
CCC 789
File 2:
... (2 Replies)
I have a set of free-form phone numbers that are not uniform and I want to reformat them into a standard uniform string. These are embedded at the end of a colon seperated file built by a large nawk + tr piping like such:
XXXXX:YYYYY:ZZZZZ:(333)333-3333x33333
XXXXX:YYYYY:ZZZZZ:x44444... (9 Replies)
Hi All,
I have .csv file in which I am trying to manipulate a column date, I started with awk but i am not sure how to do the below logic in .
the file has a 23 columns and in the first row if the value is Trend and in the second column the value is Analysis then the program has to... (3 Replies)
I want to the following results using unix script, can some one help ? Thanks
Input:
select col1, col2 from tab1 where .........
select col1,.....,coln from tab2, tab3 where....
select clo1,clo2,col3 from tab4 where...
output (results)
tab1
tab2
tab3
tab4
basically I need... (5 Replies)
Hi guys,
I'm trying to search for several strings, which I have in a .txt file line by line, on another file.
So the idea is, take input.txt and search for each line in that file in another file, let's call it rules.txt.
So far, I've been able to do this, to search for individual strings:
... (1 Reply)
I have written a code in C where the objective is to search for strings.
There are two files:
1. Database file which has more than one billion entries. This file is read in argv in the C code below. The format of the file is like this:
a.txt apple
b.txt candle
c.txt glue
2. There is another... (1 Reply)
Command 1:
$script | grep 'Write to ECC( SSID=MARGIN)'
Command 2:
$script | grep 'is not greater than existing logical processing'
The above commands run my script and search the mentioned strings but I do not want to run my script twice. It is increasing run time.
Can someone tell me... (3 Replies)
Discussion started by: Tanu
3 Replies
LEARN ABOUT OSX
gluniformblockbinding
GLUNIFORMBLOCKBINDIN(3G) OpenGL 3.3 GLUNIFORMBLOCKBINDIN(3G)NAME
glUniformBlockBinding - assign a binding point to an active uniform block
C SPECIFICATION
void glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
PARAMETERS
program
The name of a program object containing the active uniform block whose binding to assign.
uniformBlockIndex
The index of the active uniform block within program whose binding to assign.
uniformBlockBinding
Specifies the binding point to which to bind the uniform block with index uniformBlockIndex within program.
DESCRIPTION
Binding points for active uniform blocks are assigned using glUniformBlockBinding. Each of a program's active uniform blocks has a
corresponding uniform buffer binding point. program is the name of a program object for which the command glLinkProgram() has been issued
in the past.
If successful, glUniformBlockBinding specifies that program will use the data store of the buffer object bound to the binding point
uniformBlockBinding to extract the values of the uniforms in the uniform block identified by uniformBlockIndex.
When a program object is linked or re-linked, the uniform buffer object binding point assigned to each of its active uniform blocks is
reset to zero.
ERRORS
GL_INVALID_VALUE is generated if uniformBlockIndex is not an active uniform block index of program.
GL_INVALID_VALUE is generated if uniformBlockBinding is greater than or equal to the value of GL_MAX_UNIFORM_BUFFER_BINDINGS.
GL_INVALID_VALUE is generated program is not the name of a program object generated by the GL.
NOTES
glUniformBlockBinding is available only if the GL version is 3.1 or greater.
ASSOCIATED GETS
glGetActiveUniformBlock() with argument GL_UNIFORM_BLOCK_BINDING
SEE ALSO
glLinkProgram(), glBindBufferBase(), glBindBufferRange(), glGetActiveUniformBlock()
COPYRIGHT
Copyright (C) 2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication
License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.
OpenGL 3.3 03/08/2011 GLUNIFORMBLOCKBINDIN(3G)