06-04-2013
Thanks, using your approach , i could achieve the desired result.I have set flags for each condition and iterated it to next field.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
HI....
It's fallow up file ..
#./show.sh click enter button.. i am gettng the fallowup file. its keep on running every time why because there are lots of users working on it.
In that file i want to search pattern between two words
for ex:
SELECT DISTINCT... (7 Replies)
Discussion started by: ksr.test
7 Replies
2. Shell Programming and Scripting
Hi,
I know how to use awk to search some expressions like five consecutive numbers, , this is easy.
However, how do I make awk print the pattern that is been matched?
For example:
input: usa,canada99292,japan222,france59664,egypt223
output:99292,59664 (6 Replies)
Discussion started by: grossgermany
6 Replies
3. UNIX for Dummies Questions & Answers
Hi !
I have a tab-delimited file, file.tab:
Column1 Column2 Column3
aaaaaaaaaa bbtomatoesbbbbbb cccccccccc
ddddddddd eeeeappleseeeeeeeee ffffffffffffff
ggggggggg hhhhhhtomatoeshhh iiiiiiiiiiiiiiii
... (18 Replies)
Discussion started by: lucasvs
18 Replies
4. Shell Programming and Scripting
i need to search for a pattern from a big file and print everything expect the next 6 lines from where the pattern match was made. (8 Replies)
Discussion started by: chidori
8 Replies
5. Shell Programming and Scripting
Hi,
I am writing a shell script to parse some files, and gather data.
The data in the files is displayed as below.
.......xyz: abz: ......
.......xyz: abz: .....
I have tried using awk and cut, bu the position of these values keep changing, so I can use awk and split it into columns. ... (14 Replies)
Discussion started by: Serena
14 Replies
6. Shell Programming and Scripting
I have
2013-06-11 23:55:14 1Umexd-0004cm-IG <= user@domain.com
I need sed/awk operation on this, so that it should print the very next pattern only after the the pattern mach <=
ie only print user@domain.com (7 Replies)
Discussion started by: anil510
7 Replies
7. Shell Programming and Scripting
Ive used this snippet of code on a solaris box thousands of times.
But it isnt working on the new linux box
sed -n '/interface LoopBack0/{N;/ ip address /p;}' *.conf
its driving me nuts !!
Is there something Im missing ? (7 Replies)
Discussion started by: popeye
7 Replies
8. Shell Programming and Scripting
Im using the command below , but thats not the output that i want. it only prints the odd and even numbers.
awk '{if(NR%2){print $0 > "1"}else{print $0 > "2"}}'
Im hoping for something like this
file1:
Text hi this is just a test
text1 text2 text3 text4 text5 text6
Text hi... (2 Replies)
Discussion started by: invinzin21
2 Replies
9. Shell Programming and Scripting
Hello Experts , require help . See below output:
File inputs
------------------------------------------
Server Host = mike
id rl images allocated last updated density
vimages expiration last read <------- STATUS ------->... (4 Replies)
Discussion started by: tigerhills
4 Replies
10. Shell Programming and Scripting
The intended result should be :
PDF converters
'empty line'
gpdftext and pdftotext?xml version="1.0"?>
xml:space="preserve"><note-content version="0.1" xmlns:/tomboy/link" xmlns:size="http://beatniksoftware.com/tomboy/size">PDF converters
gpdftext and pdftotext</note-content>... (9 Replies)
Discussion started by: Klasform
9 Replies
LEARN ABOUT DEBIAN
glfencesync
GLFENCESYNC(3G) [FIXME: manual] GLFENCESYNC(3G)
NAME
glFenceSync - create a new sync object and insert it into the GL command stream
C SPECIFICATION
GLsync glFenceSync(GLenum condition, GLbitfield flags);
PARAMETERS
condition
Specifies the condition that must be met to set the sync object's state to signaled. condition must be GL_SYNC_GPU_COMMANDS_COMPLETE.
flags
Specifies a bitwise combination of flags controlling the behavior of the sync object. No flags are presently defined for this operation
and flags must be zero.[1]
DESCRIPTION
glFenceSync creates a new fence sync object, inserts a fence command into the GL command stream and associates it with that sync object,
and returns a non-zero name corresponding to the sync object.
When the specified condition of the sync object is satisfied by the fence command, the sync object is signaled by the GL, causing any
glWaitSync(), glClientWaitSync() commands blocking in sync to unblock. No other state is affected by glFenceSync or by the execution of the
associated fence command.
condition must be GL_SYNC_GPU_COMMANDS_COMPLETE. This condition is satisfied by completion of the fence command corresponding to the sync
object and all preceding commands in the same command stream. The sync object will not be signaled until all effects from these commands on
GL client and server state and the framebuffer are fully realized. Note that completion of the fence command occurs once the state of the
corresponding sync object has been changed, but commands waiting on that sync object may not be unblocked until after the fence command
completes.
NOTES
glFenceSync is only supported if the GL version is 3.2 or greater, or if
the ARB_sync extension is supported.
.SH "ERRORS"
GL_INVALID_ENUM is generated if condition is not GL_SYNC_GPU_COMMANDS_COMPLETE.
GL_INVALID_VALUE is generated if flags is not zero.
Additionally, if glFenceSync fails, it will return zero.
SEE ALSO
glDeleteSync(), glGetSync(), glWaitSync(), glClientWaitSync()
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/.
NOTES
1.
flags is a placeholder for anticipated future extensions of fence sync object capabilities.
[FIXME: source] 05/30/2012 GLFENCESYNC(3G)