What did you mean with filename? are these filenames that you mentioned?
And besides what is the count? count of error messages? like 3 for "Message1:Message2:Message3" ?
Hello,
A basic query. How can I remove a string from a specific column.
For example, remove "abcd" just from column 2 in example file:
abcd abcd1
abcd abcd2
abcd abcd3
to get output:
abcd 1
abcd 2
abcd 3
Thank you!:) (4 Replies)
Hi,
I am new to shell scripting, i have requirement can any one help me out in this regrads,
in directory i have file like invoice1.txt, invoice2.txt in each file i have fixed number of columns, 62 in number but they are randomly arranged.like
for first file invoice1.txt can have columns... (5 Replies)
Hello ,
i have a text file like this :
A123 c12AB c32DD aaaa
B123 23DS 12QW bbbb
C123 2GR 3RG cccccc
i want to remove the numbers from second and third column only.
i tried this :
perl -pe 's///g' file.txt > newfile.txt
but it will remove the number from... (7 Replies)
Hi,
I need help to remove tab delimited space in the $2 of a specific row. My file is like this:-
file1.txt
No_1 4 139 156
No_1 5 161 205
No_4 91 227 212
No_19 254 243 263
No_19 645 249 258
No_19 101 2492 2635
No_90 8 277 288... (5 Replies)
Hi,
I would like to ask your expertise to remove specific column no. 8 in the below file using but I don't have an idea on how to simply do this using awk command. Appreciate your help in advance.
Input f:
ABC 1 1XC
CDA 1 2YC
CCC 1 3XC
AVD 1 3XA
Expected output file:
ABC 1 1C
CDA... (9 Replies)
I have an xml file dumped from rrd file, that I want to "patch" so the xml file doesn't contain any blank hole in the resulting graph of the rrd file.
Here is the file.
<!-- 2015-10-12 14:00:00 WIB / 1444633200 --> <row><v> 4.0419731265e+07 </v><v> 4.5045912770e+06... (2 Replies)
Hi All,
I have a file with a pipe delimiter. I need to replace the delimiter with html tags.
I managed to get all the delimiters replaced along with first and last but the requirement is that I need to change 7th delimiter with slight change.
File1:
... (2 Replies)
Hello All,
we have some 10 files wherein we are using the ASCII NULL as separator which is nothing but '^@' and we need to change it to pipe delimited file before loading to database. Most of the data seems to be fine but there are instances where this separator tends to appear in the middle of... (9 Replies)
I need to remove specific column to one range
source file
3 1 000123456
2 2 000123569
3 3 000123564
12 000123156
15 000125648
128 000125648
Output required
3 000123456
2 000123569
3 000123564
12 000123156
15 000125648
128 000125648 (6 Replies)
Discussion started by: ranjancom2000
6 Replies
LEARN ABOUT CENTOS
glgetdebugmessagelog
GLGETDEBUGMESSAGELOG(3G) OpenGL Manual GLGETDEBUGMESSAGELOG(3G)NAME
glGetDebugMessageLog - retrieve messages from the debug message log
C SPECIFICATION
GLuint glGetDebugMessageLog(GLuint count, GLsizei bufSize, GLenum *sources, Glenum *types, GLuint *ids, GLenum *severities,
GLsizei *lengths, GLchar *messageLog);
PARAMETERS
count
The number of debug messages to retrieve from the log.
bufSize
The size of the buffer whose address is given by messageLog.
sources
The address of an array of variables to receive the sources of the retrieved messages.
types
The address of an array of variables to receive the types of the retrieved messages.
ids
The address of an array of unsigned integers to receive the ids of the retrieved messages.
severities
The address of an array of variables to receive the severites of the retrieved messages.
lengths
The address of an array of variables to receive the lengths of the received messages.
messageLog
The address of an array of characters that will receive the messages.
DESCRIPTION
glGetDebugMessageLog retrieves messages from the debug message log. A maximum of count messages are retrieved from the log. If sources is
not NULL then the source of each message is written into up to count elements of the array. If types is not NULL then the type of each
message is written into up to count elements of the array. If id is not NULL then the identifier of each message is written into up to
count elements of the array. If severities is not NULL then the severity of each message is written into up to count elements of the array.
If lengths is not NULL then the length of each message is written into up to count elements of the array.
messageLog specifies the address of a character array into which the debug messages will be written. Each message will be concatenated onto
the array starting at the first element of messageLog. bufSize specifies the size of the array messageLog. If a message will not fit into
the remaining space in messageLog then the function terminates and returns the number of messages written so far, which may be zero.
If glGetDebugMessageLog returns zero then no messages are present in the debug log, or there was not enough space in messageLog to retrieve
the first message in the queue. If messageLog is NULL then no messages are written and the value of bufSize is ignored.
NOTES
Although debug messages may be enabled in a non-debug context, the quantity and detail of such messages may be substantially inferior to
those in a debug context. In particular, a valid implementation of the debug message queue in a non-debug context may produce no messages
at all.
ERRORS
GL_INVALID_VALUE is generated if count or bufSize is negative.
ASSOCIATED GETS
glGet() with argument GL_DEBUG_LOGGED_MESSAGES
glGet() with argument GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH
glGet() with argument GL_MAX_DEBUG_MESSAGE_LENGTH
glGet() with argument GL_MAX_DEBUG_LOGGED_MESSAGES
SEE ALSO
glDebugMessageInsert(), glDebugMessageCallback(), glDebugMessageControl().
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 GLGETDEBUGMESSAGELOG(3G)