05-16-2002
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
can someone please tell me how i can increase the number of characters that can be input on the command line? (2 Replies)
Discussion started by: Scoogie
2 Replies
2. Shell Programming and Scripting
Anyone know how to set it up so that when at command line in unix (specifically solaris 2.5.1), and you hit the tab it will finish the command with the nearest file that matches? AND how to set it up so using up and down arrows access your previous commands?
Thanks for all the help here, i've had... (3 Replies)
Discussion started by: kymberm
3 Replies
3. Shell Programming and Scripting
Hello,
I am trying to replace a string with a paramter given along with the script.
I am replacing application1 to application2 with the script:
./change_app.sh application2
change_app.sh:
#!/bin/ksh
grep $1 applications.dat 2>&1 >/dev/null
echo $1
file=pckage.new
sed 's/Name:... (5 Replies)
Discussion started by: chiru_h
5 Replies
4. Shell Programming and Scripting
Say I have (in psuedocode)
For i=1 to 10
tar cvfb /... 5*i /junk(i)
end
What I mean is that I want each successive for loop to have the block size parameter be 5 times the current counter. This isn't my actual code, just a stupid example...So the question is how do I descrive that parameter... (2 Replies)
Discussion started by: jeriryan87
2 Replies
5. UNIX for Dummies Questions & Answers
Hi.. I am pretty new to Linux . Jus joined 2 weeks ago. My problem is I need to design a particular Application which needs to communicate the Value calclulate by a C++ program 2 another computer..I have done a bit of socket programming to acheive this(The 2 computers are connected via LAN ) ..Now... (1 Reply)
Discussion started by: aytida88
1 Replies
6. Shell Programming and Scripting
Hi,
I need to check if a parameter provided at the command line is equal to --.How can i do that ? Please help me.
Thanks and Regards,
Padmini (4 Replies)
Discussion started by: padmisri
4 Replies
7. Shell Programming and Scripting
"$#" gives the number of command-line arguments. How do you get the last command-line parameter (or any particular one determined by a variable)? I thought it would be "${$#}", but that produces something completely unexpected. (4 Replies)
Discussion started by: dkarr
4 Replies
8. Shell Programming and Scripting
I have a simple script that builds a complex program call which passes a number of parameters to the program. I'm trying to enhance the script to include the value of the command line parameter in the name of a file being created. The problem I'm having is that the parameter may include a forward... (11 Replies)
Discussion started by: pbmax626
11 Replies
9. Shell Programming and Scripting
i am a beginner, i want to make a program that takes any command line arguments... and print it out in reverse.
ie. if the command line argument is "thanks for helping me"
i want it to output "me helping for thanks" :D
i have tried using the reverse command, but i cant get it working!!
... (3 Replies)
Discussion started by: bshell_1214
3 Replies
10. UNIX and Linux Applications
I need to execute a .ksh from command line. The ksh calls a control file and has 3 parameters. First parameter is a csv file, second the target table in oracle and third parameter is a date parameter.
I am attempting the below from the ksh command line
{code} => testfile.ksh filname.csv... (1 Reply)
Discussion started by: kobe24
1 Replies
LEARN ABOUT DEBIAN
glprogramparameter
GLPROGRAMPARAMETER(3G) [FIXME: manual] GLPROGRAMPARAMETER(3G)
NAME
glProgramParameter - specify a parameter for a program object
C SPECIFICATION
void glProgramParameteri(GLuint program, GLenum pname, GLint value);
PARAMETERS
program
Specifies the name of a program object whose parameter to modify.
pname
Specifies the name of the parameter to modify.
value
Specifies the new value of the parameter specified by pname for program.
DESCRIPTION
glProgramParameter specifies a new value for the parameter nameed by pname for the program object program.
If pname is GL_PROGRAM_BINARY_RETRIEVABLE_HINT, value should be GL_FALSE or GL_TRUE to indicate to the implementation the intention of the
application to retrieve the program's binary representation with glGetProgramBinary(). The implementation may use this information to store
information that may be useful for a future query of the program's binary. It is recommended to set GL_PROGRAM_BINARY_RETRIEVABLE_HINT for
the program to GL_TRUE before calling glLinkProgram(), and using the program at run-time if the binary is to be retrieved later.
If pname is GL_PROGRAM_SEPARABLE, value must be GL_TRUE or GL_FALSE and indicates whether program can be bound to individual pipeline
stages via glUseProgramStages(). A program's GL_PROGRAM_SEPARABLE parameter must be set to GL_TRUE before glLinkProgram() is called in
order for it to be usable with a program pipeline object. The initial state of GL_PROGRAM_SEPARABLE is GL_FALSE.
ERRORS
GL_INVALID_OPERATION is generated if program is not the name of an existing program object.
GL_INVALID_ENUM is generated if pname is not one of the accepted values.
GL_INVALID_VALUE is generated if value is not a valid value for the parameter named by pname.
ASSOCIATED GETS
glGetProgram().
SEE ALSO
glGetProgram(), glGetProgramBinary(), glProgramBinary()
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/.
[FIXME: source] 05/30/2012 GLPROGRAMPARAMETER(3G)