02-21-2013
Solve a query please
Please solve the below:
Use a pipeline and command substitution to set the length of a line in emp.lst to a variable.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have to write an script for..
CUST: 123 trans:
some contents
CUST: 1234 trans:
some contents
Now wat i have to do is this:
CUST:123 akash trans:
some contents
CUST:1234 akash1 trans:
I have been able to add... (3 Replies)
Discussion started by: akashag22
3 Replies
2. Programming
Hello experts,
Here is my code.I can create the database.But I also want it to see standard output.Please see the blocked code.If i use them they show me weired symbols.
#include <stdio.h>
#include <stdlib.h>
struct date {
int month;
int day;
int year;
};
struct empRec{... (14 Replies)
Discussion started by: mlhazan
14 Replies
3. UNIX for Dummies Questions & Answers
I have to find the files older than 200 days from a path and copy them to some other directory with the current date stamp attached to it.
i have written like follows:
#!/bin/ksh
DSTAMP=$(date +"%y%m%d%H%M")
rm $CA_OUT_PATH/ftp_logs/temp
touch $CA_OUT_PATH/ftp_logs/temp
chmod 777... (13 Replies)
Discussion started by: sreenusola
13 Replies
4. Shell Programming and Scripting
I would like to use the result of a query in another query. How do I redirect/add the output to another variable?
$result = odbc_exec($connect, $query);
while ($row = odbc_fetch_array($result)) {
echo $row,"\n";
}
odbc_close($connect);
?>
This will output hostnames:
host1... (0 Replies)
Discussion started by: hazno
0 Replies
5. Shell Programming and Scripting
Hi,
I have a requirement as below which needs to be done viz UNIX shell script
(1) I have to connect to an Oracle database
(2) Exexute "SELECT field_status from table 1" query on one of the tables.
(3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Discussion started by: balaeswari
6 Replies
6. Shell Programming and Scripting
Hi,
I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database.
For instance:
USER CITY
--------- ----------
A CITY_A
B CITY_B
C ... (2 Replies)
Discussion started by: DevendraG
2 Replies
7. Homework & Coursework Questions
i thought about to use the commands : wc and sort and mybe more ..
i need to write a bash script that recive a list of varuables
kaka pele ronaldo beckham zidane messi rivaldo gerrard platini
i need the program to print the longest word of the list.
word in the output appears on a separate... (1 Reply)
Discussion started by: yairpg
1 Replies
8. UNIX Desktop Questions & Answers
i thought about to use the commands : wc and sort cut and mybe more ..
i need to write a bash script that recive a list of varuables
kaka pele ronaldo beckham zidane messi rivaldo gerrard platini
i need the program to print the longest word of the list.
word in the output appears on a... (0 Replies)
Discussion started by: yairpg
0 Replies
9. Shell Programming and Scripting
Hi I have data in the below format in two columns in excel which i will copy to notepad.
test as rec1, string
test as rec2, byteint
test as rec3, string
update date as test, datetime
name as tes2 string
I need to add trim function on all the string columns and keep the remaining... (10 Replies)
Discussion started by: pisikar
10 Replies
LEARN ABOUT CENTOS
glgetprogrampipelineinfolog
GLGETPROGRAMPIPELINE(3G) OpenGL Manual GLGETPROGRAMPIPELINE(3G)
NAME
glGetProgramPipelineInfoLog - retrieve the info log string from a program pipeline object
C SPECIFICATION
void glGetProgramPipelineInfoLog(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
PARAMETERS
pipeline
Specifies the name of a program pipeline object from which to retrieve the info log.
bufSize
Specifies the maximum number of characters, including the null terminator, that may be written into infoLog.
length
Specifies the address of a variable into which will be written the number of characters written into infoLog.
infoLog
Specifies the address of an array of characters into which will be written the info log for pipeline.
DESCRIPTION
glGetProgramPipelineInfoLog retrieves the info log for the program pipeline object pipeline. The info log, including its null terminator,
is written into the array of characters whose address is given by infoLog. The maximum number of characters that may be written into
infoLog is given by bufSize, and the actual number of characters written into infoLog is returned in the integer whose address is given by
length. If length is NULL, no length is returned.
The actual length of the info log for the program pipeline may be determined by calling glGetProgramPipeline() with pname set to
GL_INFO_LOG_LENGTH.
ERRORS
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().
ASSOCIATED GETS
glGetProgramPipeline() with parameter GL_INFO_LOG_LENGTH.
SEE ALSO
glGenProgramPipelines(), glBindProgramPipeline(), glDeleteProgramPipelines(), glGetProgramPipeline()
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 GLGETPROGRAMPIPELINE(3G)