Sponsored Content
Top Forums Shell Programming and Scripting Use of expr to calc differenc ein to epoch values Post 303016703 by jonnyd on Wednesday 2nd of May 2018 12:31:44 PM
Old 05-02-2018
bingo!
fixed.
Thank you so much all, very much appreciate your valued feedback.
 

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Differenc between print and echo

can anyone explain me what is the difference between echo and print in shell programming? (3 Replies)
Discussion started by: chandhar
3 Replies

2. UNIX for Dummies Questions & Answers

Differenc between ps -ef and top

First of all i really thankful to all those people who have created this site. unix.com rocks man!! I am bit confused about the two commands which are 'top' and 'ps -ef'.:confused: My requirement is that i want to monitor the CPU usage of Operating system and if the CPU usage is more than 90%... (2 Replies)
Discussion started by: Amey Joshi
2 Replies

3. Shell Programming and Scripting

test expr VS [ expr ]

What is the difference between test expr VS . For example : if test 5 -eq 6 echo "Wrong" and if echo "Wrong" bot will give the same output as Wrong. Now, what is the difference between these two? though they are producing the same result why we need two? Any answer will be... (2 Replies)
Discussion started by: ashok.g
2 Replies

4. Shell Programming and Scripting

Calc max of a column

In C that was easy with a for and if. Iam trying to learn a litle more in bash. Example Ronaldo:5800 Figo:4000 Rafael:2321 Kaka:1230 I want the max of the $2 and the output will be: The max value is 5800 from Ronaldo. How can i do this in shell? Thanks for all, folks. (11 Replies)
Discussion started by: rafazz
11 Replies

5. Shell Programming and Scripting

date calc

Hi, I need subtract two date values (which are in day of the year format) and the output would give the remaining days. using the command date +"%j" i would get today's 'day of the year' i.e., > date +"%j" 256 Next, i need to take input of a previous date in the format 09/05/2012 and then... (4 Replies)
Discussion started by: sam_bd
4 Replies
GLBINDTRANSFORMFEEDB(3G)					   OpenGL Manual					  GLBINDTRANSFORMFEEDB(3G)

NAME
glBindTransformFeedback - bind a transform feedback object C SPECIFICATION
void glBindTransformFeedback(GLenum target, GLuint id); PARAMETERS
target Specifies the target to which to bind the transform feedback object id. target must be GL_TRANSFORM_FEEDBACK. id Specifies the name of a transform feedback object reserved by glGenTransformFeedbacks(). DESCRIPTION
glBindTransformFeedback binds the transform feedback object with name id to the current GL state. id must be a name previously returned from a call to glGenTransformFeedbacks(). If id has not previously been bound, a new transform feedback object with name id and initialized with with the default transform state vector is created. In the initial state, a default transform feedback object is bound and treated as a transform feedback object with a name of zero. If the name zero is subsequently bound, the default transform feedback object is again bound to the GL state. While a transform feedback buffer object is bound, GL operations on the target to which it is bound affect the bound transform feedback object, and queries of the target to which a transform feedback object is bound return state from the bound object. When buffer objects are bound for transform feedback, they are attached to the currently bound transform feedback object. Buffer objects are used for trans- form feedback only if they are attached to the currently bound transform feedback object. ERRORS
GL_INVALID_ENUM is generated if target is not GL_TRANSFORM_FEEDBACK. GL_INVALID_OPERATION is generated if the transform feedback operation is active on the currently bound transform feedback object, and that operation is not paused. GL_INVALID_OPERATION is generated if id is not zero or the name of a transform feedback object returned from a previous call to glGenTransformFeedbacks(), or if such a name has been deleted by glDeleteTransformFeedbacks(). ASSOCIATED GETS
glGet() with argument GL_TRANSFORM_FEEDBACK_BINDING SEE ALSO
glGenTransformFeedbacks(), glDeleteTransformFeedbacks(), glIsTransformFeedback(), glBeginTransformFeedback(), glPauseTransformFeedback(), glResumeTransformFeedback(), glEndTransformFeedback() 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 GLBINDTRANSFORMFEEDB(3G)
All times are GMT -4. The time now is 09:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy