12-30-2011
Yes, but my way teaches loops so Nyeah
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Why would anyone ever type in a command like this:
nohup command &
nohup lets you logout of your telnet session so why add "&" to run it in the background? (1 Reply)
Discussion started by: xadamz23
1 Replies
2. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
3. Shell Programming and Scripting
im a new student in programming and im stuck on this question so please please HELP ME. thanks.
the question is this:
enter a command to delete all files that have filenames starting with labtest, except labtest itself (delete all files startign with 'labtest' followed by one or more... (2 Replies)
Discussion started by: soccerball
2 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. Shell Programming and Scripting
Hi all.
I have a .txt file that I need to sort it
My file is like:
1- 88 chain0 MASTER (FF-TE) FFFF 1962510 /TCK T FD2TQHVTT1 /jtagc/jtag_instreg/updateinstr_reg_1 dff1 (TI,SO)
2- ... (10 Replies)
Discussion started by: Behrouzx77
10 Replies
6. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
7. UNIX for Beginners Questions & Answers
Hi All,
I have 2 pipe delimited files viz., file_old and file_new. I'm trying to compare these 2 files, and extract all the different rows between them into a new_file.
comm -3 < sort file_old < sort file_new > new_file
I am getting the below error:
-ksh: sort: cannot open
But if I do... (7 Replies)
Discussion started by: njny
7 Replies
8. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
9. Shell Programming and Scripting
I am trying find files in sub dir with certain tags using tag command, and add the period to the beginning. I can't use chflags hidden {} cause it doesn't add period to the beginning of the string for web purpose. So far with my knowledge, I only know mdfind or tag can be used to search files with... (6 Replies)
Discussion started by: Nexeu
6 Replies
LEARN ABOUT SUSE
glupartialdisk
GLUPARTIALDISK(3G) GLUPARTIALDISK(3G)
NAME
gluPartialDisk - draw an arc of a disk
C SPECIFICATION
void gluPartialDisk( GLUquadric* quad,
GLdouble inner,
GLdouble outer,
GLint slices,
GLint loops,
GLdouble start,
GLdouble sweep )
PARAMETERS
quad Specifies a quadrics object (created with gluNewQuadric).
inner Specifies the inner radius of the partial disk (can be 0).
outer Specifies the outer radius of the partial disk.
slices Specifies the number of subdivisions around the z axis.
loops Specifies the number of concentric rings about the origin into which the partial disk is subdivided.
start Specifies the starting angle, in degrees, of the disk portion.
sweep Specifies the sweep angle, in degrees, of the disk portion.
DESCRIPTION
gluPartialDisk renders a partial disk on the z=0 plane. A partial disk is similar to a full disk, except that only the subset of the disk
from start through start + sweep is included (where 0 degrees is along the +yaxis, 90 degrees along the +x axis, 180 degrees along the -y
axis, and 270 degrees along the -x axis).
The partial disk has a radius of outer, and contains a concentric circular hole with a radius of inner. If inner is 0, then no hole is gen-
erated. The partial disk is subdivided around the z axis into slices (like pizza slices), and also about the z axis into rings (as speci-
fied by slices and loops, respectively).
With respect to orientation, the +z side of the partial disk is considered to be outside (see gluQuadricOrientation). This means that if
the orientation is set to GLU_OUTSIDE, then any normals generated point along the +z axis. Otherwise, they point along the -z axis.
If texturing is turned on (with gluQuadricTexture), texture coordinates are generated linearly such that where r=outer, the value at (r, 0,
0) is (1.0, 0.5), at (0, r, 0) it is (0.5, 1.0), at (-r, 0, 0) it is (0.0, 0.5), and at (0, -r, 0) it is (0.5, 0.0).
SEE ALSO
gluCylinder(3G), gluDisk(3G), gluNewQuadric(3G), gluQuadricOrientation(3G), gluQuadricTexture(3G), gluSphere(3G)
GLUPARTIALDISK(3G)