Hi,
I am writing a shell script (ksh, solaris 5.8).
Script is X.sh
variables declared:
LOGFILE=X.log
the script is removing a file:
/usr/bin/rm "$DUMP_FILE1".Z >> $LOGFILE
If I kick off the script from the command line as follows:
./X.sh > X.con 2<& 1 (1 Reply)
Hi all,
I wish to have a script running even if my session is disconnected.
I've tried calling another session within it and using sudo to a different user, but it didn't work - as it was expected to do so :rolleyes:
I guess I'll have to work with "nohup" command, right ?
trying with the... (4 Replies)
Hi,
I have a shell script where I log on to sqlplus like this
log()
{
sqlplus -s scott/tiger <<!
select count(*) from EMP;
!
}
log
Here I have hardcoded/used the username : scott and password : tiger directly to log on to SQLPLUS. If i have my log in information in my profile file... (2 Replies)
Hi ALL,
Is there any way, to login into a website using Shell/Perl command/script?
I am struggling on this from quite sometime but with no luck. Can you guys help, please?
My sole purpose is to login a website (Which requires Username and Password) and then extract some information from... (3 Replies)
Hello
I wrote a nice Perl script that is intended to find and copy some files when getting a TERM signal. Now I wanted to make a shell script that starts/restarts the Perl script if it crashes/ends because of errors and make a log of all output the Perl Script gives. The problem is that it won't... (1 Reply)
Hello
I wrote a nice Perl script that is intended to find and copy some files when getting a TERM signal. Now I wanted to make a shell script that starts/restarts the Perl script if it crashes/ends because of errors and make a log of all output the Perl Script gives. The problem is that it won't... (11 Replies)
Hi All,
Sorry if it is a duplicate post. I have not got any reference about this anywhere.
I looked at the posts described in SSH - Passing Unix login passwords through shell scripts - Linux / UNIX Forum and it helped me till the point to connect to the host and executing the basic commands.... (3 Replies)
Hi All,
I am preparing a script which executes following things:
1) Logs into 8 cluster one by one.
2) After logging into each cluster,it prints the cluster name & then exit from that cluster.
3) Then it logs to next cluster & peform the same task.
Here is what i have written :
for... (8 Replies)
Bash on Oracle Linux 6.3
I have a shell script whose output I want to redict to a log file. So, I can simply redirect the output as shown below.
# cat myscript.sh
#### I actually want some logging mechanism here which will redirect the output to a log file
echo 'hello world'
#... (3 Replies)
Discussion started by: John K
3 Replies
LEARN ABOUT XFREE86
gldepthrange
GLDEPTHRANGE(3G)GLDEPTHRANGE(3G)NAME
glDepthRange - specify mapping of depth values from normalized device coordinates to window coordinates
C SPECIFICATION
void glDepthRange( GLclampd near_val,
GLclampd far_val )
PARAMETERS
near_val Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0.
far_val Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1.
DESCRIPTION
After clipping and division by w, depth coordinates range from -1 to 1, corresponding to the near and far clipping planes. glDepthRange
specifies a linear mapping of the normalized depth coordinates in this range to window depth coordinates. Regardless of the actual depth
buffer implementation, window coordinate depth values are treated as though they range from 0 through 1 (like color components). Thus, the
values accepted by glDepthRange are both clamped to this range before they are accepted.
The setting of (0,1) maps the near plane to 0 and the far plane to 1. With this mapping, the depth buffer range is fully utilized.
NOTES
It is not necessary that near_val be less than far_val. Reverse mappings such as near_val=1, and far_val=0 are acceptable.
ERRORS
GL_INVALID_OPERATION is generated if glDepthRange is executed between the execution of glBegin and the corresponding execution of glEnd.
ASSOCIATED GETS
glGet with argument GL_DEPTH_RANGE
SEE ALSO glDepthFunc(3G), glPolygonOffset(3G), glViewport(3G)GLDEPTHRANGE(3G)