12-06-2013
Is _record a flat file, or a directory?
Is that your entire script, or is there some other stuff around it?
10 More Discussions You Might Find Interesting
1. AIX
I want to serch for a string in all the files in the root directory. i want the search to be limited to only the files in the directory i.e the search to be done only in the files not in the sub directory.
the approaches tried are
1)grep "pattern string"
this command was serching the... (3 Replies)
Discussion started by: Subbu_Angeline
3 Replies
2. Shell Programming and Scripting
I am attempting to grep a list of files for a string an and then only extract the 3rd and 4th field of from the line. That's easy. But I want to prefix the line with the filename that the information came from.
for filename in `ls -1 *.txt'
do
grep search_text $filename | awk '{print $3"... (5 Replies)
Discussion started by: sjohns6
5 Replies
3. Shell Programming and Scripting
I am not sure if i am doing this correctly since it returns quickly. i need to grep for a keyword in all files in a directory
grep keyword /mydirectory
is that correct? I just want to know which files have a keyword in it.
i am using korn shell in solaris 5.1. There does not appear to... (12 Replies)
Discussion started by: guessingo
12 Replies
4. Shell Programming and Scripting
Hi Gurus,
I am working in tcsh and i set the prompt with this.
set prompt = "$cwd>"
But I see teh prompt only gets reflected with the directory where I set the prompt. After i cd to another directory it still shows the old directory. Please advise (1 Reply)
Discussion started by: kinny
1 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I'm looking for a search string within about 50 files but when the string is found it doesn't tell me in which member it has been found. Any ideas how I can do this?
Cheers
Rob (4 Replies)
Discussion started by: Grueben
4 Replies
6. Shell Programming and Scripting
Hi guys,
Can you please help me print all the executable files of a directory(in this case /home) using grep?
All i know is that this command should do it but it doesnt...
ls -l ~ | grep -..x
it shows me the following mesage
grep: invalid option -- '.'
Χρήση: grep ... ΥΠΟΔΕΙΓΜΑ ... (3 Replies)
Discussion started by: jimas13
3 Replies
7. HP-UX
Hi Everyone,
My var directory is showing near to 100% ? What are the files should i delete to make it less??
Kindly suggest
# bdf -i
Filesystem kbytes used avail %used iused ifree %iuse Mounted on
/dev/vg00/lvol3 1048576 107616 933616 10% 3342 29394 10% /... (10 Replies)
Discussion started by: yadvinder
10 Replies
8. Shell Programming and Scripting
Hi All
I am trying to run a script in linux wherein i have a command like this
grep ^prmAttunityUser= djpHewr2XFMAttunitySetup_ae1_tmp
djpHewr2XFMAttunitySetup_ae1_tmp is a temporary file in which the user value is stored but this command in the script returns me balnk value whereas it has a... (4 Replies)
Discussion started by: vee_789
4 Replies
9. Shell Programming and Scripting
Hi,
I have used the command
cat * | grep -r <<String>> *
It returns:
cat : JAN : is directory
***********************
*********************
My directory structure:
log
- JAN
-catalina.out
-FEB
-catalina.out
-MARCH
... (11 Replies)
Discussion started by: nanthagopal
11 Replies
10. Shell Programming and Scripting
I wish to traverse all files and folders under a given directory say "/tmp/configuration" and for all ip address mentioned therein.
I tried find ./ -type f | xargs grep "*.*.*.*" but it does not populated the correct results.
Can you please suggest. (1 Reply)
Discussion started by: mohtashims
1 Replies
LEARN ABOUT MOJAVE
glprovokingvertex
GLPROVOKINGVERTEX(3G) OpenGL 3.3 GLPROVOKINGVERTEX(3G)
NAME
glProvokingVertex - specifiy the vertex to be used as the source of data for flat shaded varyings
C SPECIFICATION
void glProvokingVertex(GLenum provokeMode);
PARAMETERS
provokeMode
Specifies the vertex to be used as the source of data for flat shaded varyings.
DESCRIPTION
Flatshading a vertex shader varying output means to assign all vetices of the primitive the same value for that output. The vertex from
which these values is derived is known as the provoking vertex and glProvokingVertex specifies which vertex is to be used as the source of
data for flat shaded varyings.
provokeMode must be either GL_FIRST_VERTEX_CONVENTION or GL_LAST_VERTEX_CONVENTION, and controls the selection of the vertex whose values
are assigned to flatshaded varying outputs. The interpretation of these values for the supported primitive types is:
If a vertex or geometry shader is active, user-defined varying outputs may be flatshaded by using the flat qualifier when declaring the
output.
NOTES
glProvokingVertex is available only if the GL version is 3.2 or greater.
ERRORS
GL_INVALID_ENUM is generated if provokeMode is not an accepted value.
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/.
OpenGL 3.3 03/08/2011 GLPROVOKINGVERTEX(3G)