10-10-2013
UNIX Pipelines
What if you want to have just one single pipeline that will create a file (let's say x) and we want all the content from another file (we can call it y), one word per line?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Okee problems...!!
What is happening: Unix server with some programms, workstations are windows 2000, the workstations work good but when you start a programm on the Unix server the CPU of the workstations go to 100% usage resulting that the system gets very slow. The programm well its running so... (2 Replies)
Discussion started by: zerocool
2 Replies
2. UNIX for Dummies Questions & Answers
howdy all,
i've been trying to find info on piping info between multiple commands from the command line, but i've been unable to find any examples of piping continuous data through a chain of commands. basically, i'm trying to parse data from the top command and send it out over udp to another... (1 Reply)
Discussion started by: ohhmyhead
1 Replies
3. UNIX for Advanced & Expert Users
hi
i want run an unix application from a windows program/application.i am using SSH(command line version)to log on to a unix machine from windows. the application has to read a configuration file inorder to run. the configuration file .CFG is in bin in my home directory. but the application... (1 Reply)
Discussion started by: megastar
1 Replies
4. Shell Programming and Scripting
Hi,
My local server is :/usr/abcd/
Remote server is :/Usr/host/test/
I want to send files from local unix directory(All files starting with O_999) to
remote host unix directory.
Can any body give me the Unix Shell script to do this.
One more doubt: Shall we need to change the file... (1 Reply)
Discussion started by: raja_1234
1 Replies
5. UNIX for Dummies Questions & Answers
Now before this thread gets closed, please be aware this is not classwork or homework, I am trying to learn unix by myself, and have come stuck below. So it is a pointless to close this thread, as I am trying to improve my unix by asking advice from people. That is what I assume a forum is for!
... (1 Reply)
Discussion started by: Vn3050
1 Replies
6. Shell Programming and Scripting
Hi,
As per shell docs because commands in pipelines are run as separate processes,
variables set in a pipeline have no effect on the parent shell
In the sample below I am unable to set variable in Proc1 so that I can see it in the main program
Is there any work around ?
Thanks
Zam... (4 Replies)
Discussion started by: zam
4 Replies
7. UNIX for Dummies Questions & Answers
How would I combine commands in a pipeline to produce an alphabetized list of who's online at a particular moment?
Then:
How would I take that pipeline and turn it into a command called "whoison"? (1 Reply)
Discussion started by: greeky
1 Replies
8. UNIX for Dummies Questions & Answers
How does unix system administration, unix programming, unix network programming differ?
Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies
9. Shell Programming and Scripting
Dear All,
Can someone help to command or program to transfer the file from windows to Unix server and from one unix server to another Unix server in secure way.
I would request no samba client. (4 Replies)
Discussion started by: yadavricky
4 Replies
LEARN ABOUT CENTOS
gluseprogramstages
GLUSEPROGRAMSTAGES(3G) OpenGL Manual GLUSEPROGRAMSTAGES(3G)
NAME
glUseProgramStages - bind stages of a program object to a program pipeline
C SPECIFICATION
void glUseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program);
PARAMETERS
pipeline
Specifies the program pipeline object to which to bind stages from program.
stages
Specifies a set of program stages to bind to the program pipeline object.
program
Specifies the program object containing the shader executables to use in pipeline.
DESCRIPTION
glUseProgramStages binds executables from a program object associated with a specified set of shader stages to the program pipeline object
given by pipeline. pipeline specifies the program pipeline object to which to bind the executables. stages contains a logical combination
of bits indicating the shader stages to use within program with the program pipeline object pipeline. stages must be a logical combination
of GL_VERTEX_SHADER_BIT, GL_TESS_CONTROL_SHADER_BIT, GL_TESS_EVALUATION_SHADER_BIT, GL_GEOMETRY_SHADER_BIT, GL_FRAGMENT_SHADER_BIT and
GL_COMPUTE_SHADER_BIT. Additionally, the special value GL_ALL_SHADER_BITS may be specified to indicate that all executables contained in
program should be installed in pipeline.
If program refers to a program object with a valid shader attached for an indicated shader stage, glUseProgramStages installs the
executable code for that stage in the indicated program pipeline object pipeline. If program is zero, or refers to a program object with no
valid shader executable for a given stage, it is as if the pipeline object has no programmable stage configured for the indicated shader
stages. If stages contains bits other than those listed above, and is not equal to GL_ALL_SHADER_BITS, an error is generated.
NOTES
The GL_COMPUTE_SHADER_BIT bit is available only if the GL version is 4.3 or greater.
ERRORS
GL_INVALID_VALUE is generated if shaders contains set bits that are not recognized, and is not the reserved value GL_ALL_SHADER_BITS.
GL_INVALID_OPERATION is generated if program refers to a program object that was not linked with its GL_PROGRAM_SEPARABLE status set.
GL_INVALID_OPERATION is generated if program refers to a program object that has not been successfully linked.
GL_INVALID_OPERATION is generated if pipeline is not a name previously returned from a call to glGenProgramPipelines() or if such a name
has been deleted by a call to glDeleteProgramPipelines().
SEE ALSO
glGenProgramPipelines(), glDeleteProgramPipelines(), glIsProgramPipeline()
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/.
AUTHORS
opengl.org
opengl.org 06/10/2014 GLUSEPROGRAMSTAGES(3G)