09-27-2016
Hello cmccabe,
It is not at all clear from attachments too. Please rephrase your requirements and come up with correctly phrased problem. I would like to request you to please spend sometime in your question and review it before posting it, once you have enough information into your post with proper sample Input_file and expected output_file with all conditions(most importantly) then you could post it.
Thanks,
R. Singh
This User Gave Thanks to RavinderSingh13 For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am Solaris korn shell. I want to create a symbolic link. I have a directory
/u01/ftp01/db
I want to reference it as
/u05/swe/my (this is not a real directory)
I tried a symbolic link but it does not work
ln -s /u01/ftp01/db /u05/swe/my
ln: cannot create //u05/swe/my: No such... (2 Replies)
Discussion started by: lesstjm
2 Replies
2. Shell Programming and Scripting
Hi everybody:
I just create awk script. This script calculate the average of a field, but i want to do it for every fields.
The original field has 40 fields of numbers like that:
38.00 51.00 10.00 -99.90 75.00 47.00 4.00 -99.90 69.00 121.00 62.00 6.00 70.00 43.00 36.00 49.00 8.00 36.00 50.00... (1 Reply)
Discussion started by: tonet
1 Replies
3. Shell Programming and Scripting
Hi,
does anybody knows how to manage, that the filenames are assigned to a variable in a loop afer getting them with set command in a ksh, like:
set B*.txt
i=1
c=$#
x=$((c+1))
echo "$x"
while ] ; do
_ftpfile$i="$"$i
echo "$_ftpfile$i"
i=$((i+1))
done
The first echo returns,... (2 Replies)
Discussion started by: spidermike
2 Replies
4. Solaris
Hi,
I need to create a link as stagein01 for the /p11/prod/stagein01/.
Please let me know the procedure for the same.
Regards,
VN (5 Replies)
Discussion started by: narayanv
5 Replies
5. UNIX for Advanced & Expert Users
Hi -
Our system admin cannot create a link to NAS with one particular name but he can create with other names.
What might be the cause?
Regards
---------- Post updated at 11:30 AM ---------- Previous update was at 11:29 AM ----------
It says permission denied. (2 Replies)
Discussion started by: w020637
2 Replies
6. Shell Programming and Scripting
Hi All,
I am really struggling to solve this problem, this might be small but I am not able to, can somebody help me?
I have few directories and these directories receives text files in large amount with in fraction of seconds. So I just want to send all the files in current directory to... (2 Replies)
Discussion started by: VasuKukkapalli
2 Replies
7. Shell Programming and Scripting
I'm relatively new to bash scripting and am trying to use awk inside a bash for loop but am having a problem with the variables.
for i in $(seq 30 5 60)
do
# Define variables up and down in AWK
eval $(awk 'BEGIN{ print "up=$((i+1))"}' < /dev/null)
eval $(awk 'BEGIN{ print... (2 Replies)
Discussion started by: lily-anne
2 Replies
8. Shell Programming and Scripting
Source File:
google.cz http://czechrepublic.google.com/
http://czechrepublic.google.cz http://czechrepublic.google.com/
http://brno.google.cz http://brno.google.com/
Fail Code
root@arisvm ~/g] $ cat trya
rm -f ss
for i in a.txt
do
#b=`cat $i|awk '{print $1}'`
#c=`cat $i|awk '{print... (4 Replies)
Discussion started by: invinzin21
4 Replies
9. Shell Programming and Scripting
I am trying to extract the number in bold (leading zero removed) after Medexome_xx_numbertoextractin file and create an output using that extracted number. In the output the on thing that will change is the number the other test is static and will be the same each time. Thank you :).
file
... (8 Replies)
Discussion started by: cmccabe
8 Replies
10. Shell Programming and Scripting
The awk below will create sub-directories in a directory (which is always the last line of file1, each block separated by an empty line), if the number in line 2 (always the first 6 digits in the format xx-xxxx) of file2 is found in $2 of file1. This is the current awk output.
If there is a... (0 Replies)
Discussion started by: cmccabe
0 Replies
LEARN ABOUT CENTOS
glframebufferparameteri
GLFRAMEBUFFERPARAMET(3G) OpenGL Manual GLFRAMEBUFFERPARAMET(3G)
NAME
glFramebufferParameteri - set a named parameter of a framebuffer
C SPECIFICATION
void glFramebufferParameteri(GLenum target, GLenum pname, GLint param);
PARAMETERS
target
The target of the operation, which must be GL_READ_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER or GL_FRAMEBUFFER.
pname
A token indicating the parameter to be modified.
param
The new value for the parameter named pname.
DESCRIPTION
glFramebufferParameteri modifies the current value of the parameter named pname in the framebuffer bound to target. target must be
GL_READ_FRAMEBFUFFER, GL_DRAW_FRAMEBUFFER or GL_FRAMEBUFFER. The token GL_FRAMEBUFFER is treated as GL_DRAW_FRAMEBUFFER. A non-default
framebuffer must be bound to target.
pname specifies the parameter to be modified. The following symbols are accepted in pname:
GL_FRAMEBUFFER_DEFAULT_WIDTH
param specifies the assumed with for a framebuffer object with no attachments. If a framebuffer has attachments then the width of those
attachments is used, otherwise the value of GL_FRAMEBUFFER_DEFAULT_WIDTH is used for the framebuffer. param must be greater than or
equal to zero and less than or equal to the value of GL_MAX_FRAMEBUFFER_WIDTH.
GL_FRAMEBUFFER_DEFAULT_HEIGHT
param specifies the assumed height for a framebuffer object with no attachments. If a framebuffer has attachments then the height of
those attachments is used, otherwise the value of GL_FRAMEBUFFER_DEFAULT_HEIGHT is used for the framebuffer. param must be greater
than or equal to zero and less than or equal to the value of GL_MAX_FRAMEBUFFER_HEIGHT.
GL_FRAMEBUFFER_DEFAULT_LAYERS
param specifies the assumed number of layers for a framebuffer object with no attachments. If a framebuffer has attachments then the
layer count of those attachments is used, otherwise the value of GL_FRAMEBUFFER_DEFAULT_LAYERS is used for the framebuffer. param must
be greater than or equal to zero and less than or equal to the value of GL_MAX_FRAMEBUFFER_LAYERS.
GL_FRAMEBUFFER_DEFAULT_SAMPLES
param specifies the assumed number of samples in a framebuffer object with no attachments. If a framebuffer has attachments then the
sample count of those attachments is used, otherwise the value of GL_FRAMEBUFFER_DEFAULT_SAMPLES is used for the framebuffer. param
must be greater than or equal to zero and less than or equal to the value of GL_MAX_FRAMEBUFFER_SAMPLE.
GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS
param specifies whether the framebuffer should assume identical sample locations and the same number of samples for all texels in the
virtual image. If param is zero, then the implementation may vary the position or the count of samples within the virtual image from
pixel to pixel, otherwise it will use the same sample position and count for all pixels in the virtual image.
ERRORS
GL_INVALID_ENUM is generated if target is not one of the accepted framebuffer targets.
GL_INVAILD_VALUE is generated if pname is GL_FRAMEBUFFER_DEFAULT_WIDTH and param is less than zero or greater than the value of
GL_MAX_FRAMEBUFFER_WIDTH.
GL_INVAILD_VALUE is generated if pname is GL_FRAMEBUFFER_DEFAULT_HEIGHT and param is less than zero or greater than the value of
GL_MAX_FRAMEBUFFER_HEIGHT.
GL_INVAILD_VALUE is generated if pname is GL_FRAMEBUFFER_DEFAULT_LAYERS and param is less than zero or greater than the value of
GL_MAX_FRAMEBUFFER_LAYERS.
GL_INVAILD_VALUE is generated if pname is GL_FRAMEBUFFER_DEFAULT_SAMPLES and param is less than zero or greater than the value of
GL_MAX_FRAMEBUFFER_SAMPLES.
GL_INVALID_OPERATION is generated if the default framebuffer is bound to target.
ASSOCIATED GETS
glGetFramebufferParameteriv().
SEE ALSO
glVertexAttribBinding(), glVertexAttribFormat(), glVertexAttribPointer(), glVertexBindingDivisor().
COPYRIGHT
Copyright (C) 2012 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 GLFRAMEBUFFERPARAMET(3G)