Hello Experts,
I m newbie. Could u pls help me to write script on Sun solaris-
I have backup directory "/var/opt/backup/" where files are backed up in different directory "backup1" "backup2" "backup3".
I want to write a shell script which i will put in crontab and daily midnight it will... (1 Reply)
I am writing a script which reads a file line by line and then assigns it to a variable like this 1090373422_4028715212.jpg. I have images with file name of this format in some other directory. In my script I want to assign variable with this file name and then find this filename in some other... (11 Replies)
Hi,
I have to rename all occurance of CUST_MST to RESELLER_MST both in filename and file content under a directory (say D0) which contains multiple (2-3 levels) sub directory.
Example:
D0 -> D1 -> D2 has a file CUST_MST_TEMP.txt
this contains :
> cat /D0/D1/D2/CUST_MST_TEMP.txt... (3 Replies)
Hi
if anyone could help me :)
I did a lot of search and 70% of answer is "how to count files in all subdirectories".
A basic problem for me is how to count files in every subdirectory separately then sort it by number of files
For example:
dir1
file1
file2
subdir11
dir2
dir3
... (3 Replies)
Hi guys, sorry if my english not very well.. i have a problem.. i have a file and the structure is :
Folder/
Folder/10.123.124.20/pm_data/A200807
Folder/10.123.124.20/pm_data/A200807
Folder/10.123.124.20/pm_data/A200807
Folder/10.123.124.20/pm_data/A200808... (4 Replies)
Hi All,
I'm trying to use the find command to return matches for a directory and file.
For example, given the following directories:
/one/two/three/file1.txt
/one/three/two/file1.txt
/one/four/two/three/file1.txt
I'm expecting the following to be returned:
... (16 Replies)
Hi All,
I was exploring find command and came across -prune option which would exclude search in a mention subdirectory.
My quesry is to search all files more that 100 MB size but exclude search in a subdirectory.
I am using below command,but somehow it is not working.
Can anybody help me... (6 Replies)
Forgive me if there is an answer to this somewhere in the forums. I've gone through as much as I could but couldn't find a relevant answer.
What I'm trying to do is use the ll command to list some files in a subdirectory that matches a certain format.
I've tried ll *.*a* <subdirectory> but... (3 Replies)
Suppose i have a word "mail".
I have to search this word in all files inside a directory and it's sub-directories.
It will also search in all hidden directory and sub-directories.
If it finds this word in any file it will list that file.
How can i do this with perl/ruby/awk/sed/bash or... (9 Replies)
Hi,
I have multiple directories built in following manner
/app/red/tmp
/app/blue/upd
/app/blue/tmp
/app/green/tmp
/app/red/upd
/app/green/upd
I have filenames having pattern ONE.XXX.dat TWO.ZZZ.dat and so on across the folders listed above
My objective is to list all filenames of a... (4 Replies)
Discussion started by: wahi80
4 Replies
LEARN ABOUT CENTOS
glgetuniformsubroutine
GLGETUNIFORMSUBROUTI(3G) OpenGL Manual GLGETUNIFORMSUBROUTI(3G)NAME
glGetUniformSubroutine - retrieve the value of a subroutine uniform of a given shader stage of the current program
C SPECIFICATION
void glGetUniformSubroutineuiv(GLenum shadertype, GLint location, GLuint *values);
PARAMETERS
shadertype
Specifies the shader stage from which to query for subroutine uniform index. shadertype must be one of GL_VERTEX_SHADER,
GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER.
location
Specifies the location of the subroutine uniform.
values
Specifies the address of a variable to receive the value or values of the subroutine uniform.
DESCRIPTION
glGetUniformSubroutine retrieves the value of the subroutine uniform at location location for shader stage shadertype of the current
program. location must be less than the value of GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS for the shader currently in use at shader stage
shadertype. The value of the subroutine uniform is returned in values.
ERRORS
GL_INVALID_ENUM is generated if shadertype is not one of the accepted values.
GL_INVALID_VALUE is generated if location is greater than or equal to the value of GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS for the shader
currently in use at shader stage shadertype.
GL_INVALID_OPERATION is generated if no program is active.
SEE ALSO
glGetProgram(), glGetActiveSubroutineUniform(), glGetActiveSubroutineUniformName(), glGetUniformLocation()
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 GLGETUNIFORMSUBROUTI(3G)