Hello evreyone,
this is my first post, and to say i'm new to this is an understatement.
I know very little about perl scripts and hope some one can help me.
i'm looking to get a script that a cron job can execute.
what the script needs to to is
1) connect to a mysql database
2) go to a... (2 Replies)
hello all
how can i run the java command that can eccept N numbers of args for example :
java -cp .;foo.jar myApp 1 "ww"
or
java -cp .;foo.jar myApp 1 2 3 "ww"
or
java -cp .;foo.jar myApp "args1" "args2" "args3"
Thanks (1 Reply)
Hi I am trying to run 2 servers using a script one after the other.
I start the first one:
run.sh -c servername >> jboss_log.txt &
Then I have to wait until I see Started message in the log file before I launch the other server.
I can't use sleep because I am not sure how long it'll... (5 Replies)
Experts,
i need your help to made an enhance query using the existing one. i'm using a command "find . -exec grep -l 'search string' {} \;" to search a particular sting within the file within a folder. Basically, my idea is to fine tune my search. What i want is, instead of searching all files... (2 Replies)
Hi All,
This below command is working fine with unix box. However i could not able
to run it in PERL. kidly suggest???
perl -ne '{push @x, $_}END{pop(@x); print @x}' create2.txt (15 Replies)
Hi Folks,
I have created a script last month to retrive files thru FTP and cronjob was running fine till yesterday. But the naming convention of the daily file is Filename_<date>.xml
where date is YYYYMMDD. But today i have received file name as Filename_20110232.xml :(
Part of my Perl... (4 Replies)
Hi I have a perl command that doesn't seem to be working correctly. It appears to be fine but even when i try and run it manually same thing. Can someone take a look at this and tell me what they think the problem could be?
Here is the perl Line:
system ("echo 'ssh -t -t $user\@$_ \"cd... (3 Replies)
hi All,
i have to modify a shell script written in Perl. i have to use execute immediate within this. i have to create a temporary table but it should have name like ar_data_$mmyyyy , how can i achieve this?
any help on this would be highly appriciated. (6 Replies)
Hello
Can some help with write part of perl script
I need something like this in perl
SSH="/bin/ssh -o BatchMode=yes -o"
USER="test"
SRV="server"
SCRIPT_TO_EXEC="/tmp/test.sh" -> shell script
OUT=/tmp/out.file
${SSH} -l ${USER} ${SRV} 'sudo /usr/bin/ksh -s' < ${SCRIPT_TO_EXEC} >> ${OUT}... (1 Reply)
I have reviewed many examples on-line about running another process (either PERL or shell command or a program), but do not find any usefull for my needs way. (Reviewed and not useful the system(), 'back ticks', exec() and open())
I would like to run another PERL-script from first one, not... (1 Reply)
Discussion started by: alex_5161
1 Replies
LEARN ABOUT MOJAVE
gledgeflagpointer
GLEDGEFLAGPOINTER(3G)GLEDGEFLAGPOINTER(3G)NAME
glEdgeFlagPointer - define an array of edge flags
C SPECIFICATION
void glEdgeFlagPointer( GLsizei stride,
const GLboolean *pointer )
PARAMETERS
stride Specifies the byte offset between consecutive edge flags. If stride is 0 (the initial value), the edge flags are understood to be
tightly packed in the array. The initial value is 0.
pointer Specifies a pointer to the first edge flag in the array. The initial value is zero.
DESCRIPTION
glEdgeFlagPointer specifies the location and data of an array of boolean edge flags to use when rendering. stride specifies the byte
stride from one edge flag to the next allowing vertices and attributes to be packed into a single array or stored in separate arrays.
(Single-array storage may be more efficient on some implementations; see glInterleavedArrays.)
When an edge flag array is specified, stride and pointer are saved as client-side state.
To enable and disable the edge flag array, call glEnableClientState and
glDisableClientState with the argument GL_EDGE_FLAG_ARRAY. If enabled, the edge flag array is used when glDrawArrays, glDrawElements, or
glArrayElement is called.
Use glDrawArrays to construct a sequence of primitives (all of the same type) from prespecified vertex and vertex attribute arrays. Use
glArrayElement to specify primitives by indexing vertices and vertex attributes and glDrawElements to construct a sequence of primitives by
indexing vertices and vertex attributes.
NOTES
glEdgeFlagPointer is available only if the GL version is 1.1 or greater.
The edge flag array is initially disabled and it won't be accessed when
glArrayElement, glDrawElements or glDrawArrays is called.
Execution of glEdgeFlagPointer is not allowed between the execution of glBegin and the corresponding execution of glEnd, but an error may
or may not be generated. If no error is generated, the operation is undefined.
glEdgeFlagPointer is typically implemented on the client side.
Edge flag array parameters are client-side state and are therefore not saved or restored by glPushAttrib and glPopAttrib. Use
glPushClientAttrib and
glPopClientAttrib instead.
ERRORS
GL_INVALID_ENUM is generated if stride is negative.
ASSOCIATED GETS
glIsEnabled with argument GL_EDGE_FLAG_ARRAY
glGet with argument GL_EDGE_FLAG_ARRAY_STRIDE
glGetPointerv with argument GL_EDGE_FLAG_ARRAY_POINTER
SEE ALSO
glArrayElement, glColorPointer, glDrawArrays, glDrawElements, glEnable, glGetPointerv, glIndexPointer, glNormalPointer, glPopClientAttrib,
glPushClientAttrib, glTexCoordPointer, glVertexPointer
GLEDGEFLAGPOINTER(3G)