09-01-2014
Thanks DON for your help!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
Have the following code(1) producing the results(2 & 3).
Would like to know if there is a way to format the two reports created in a similar fashion.
IE - The first is formatted nicely as a result of the echo "$xmpbdate $xavgs" >> $xmpbrpt
However when I attempt to do the same on... (7 Replies)
Discussion started by: Cameron
7 Replies
2. Shell Programming and Scripting
Hi guys ,
I have a file which contains following string.(filename tempdisplay)
(location 0.0.0.0:5900)
i needed to write a script which will extract the string that comes after
0.0.0.0 i.e the string :5900.
I have used following method to extract the string :5900 .Is it a preferred way of... (4 Replies)
Discussion started by: pinga123
4 Replies
3. Shell Programming and Scripting
I have a following string.
"machine=IFLMUD5HP0581&group1=Stop"
I have created 2 variables namely machine and action.
machine should contain
IFLMUD5HP0581
action should contain
Stop
How do i write a script for the same. (7 Replies)
Discussion started by: pinga123
7 Replies
4. Shell Programming and Scripting
I have a file called abc.txt which has following contents.
10.180.8.231=31608
10.180.8.232=29011
10.180.8.233=31606
10.180.8.234=40501
10.180.8.235=32591
10.180.8.236=31605
10.180.8.237=30561
10.180.8.238=14231
How would i find a ip address having maximum number of ram available.
Here... (2 Replies)
Discussion started by: pinga123
2 Replies
5. UNIX for Dummies Questions & Answers
How would i write a script which will add a following content to a file.
File Before running script.
acpi = 1
apic = 1
builder = 'hvm'
device_model = '/usr/lib/xen/bin/qemu-dm'
disk =
File After running the script.
acpi = 1
apic = 1
builder = 'hvm'
device_model =... (5 Replies)
Discussion started by: pinga123
5 Replies
6. Shell Programming and Scripting
I am executing the following command:
sort file1.txt | uniq -c | sort -n > file2.txt
The problem is that in file 2, I get leading spaces, Like so:
1 N/A|A8MW11
8 N/A|ufwo1
9 N/A|a8mw11
10 900003|smoketest297688
10 N/A|a9dg4
10 danny|danni
12... (5 Replies)
Discussion started by: ddurden7
5 Replies
7. Shell Programming and Scripting
Hi,
Can anyone tell me how i can convert all tab spaces inside a script to 4 spaces through another script.
Also i need to find if all the quotes are matching and ended properly. Any idea whould be of great help.
Many thanks! (3 Replies)
Discussion started by: justchill
3 Replies
8. AIX
I am using FORTRAN 90 on AIX 5.3 and need to output my data to a tab-delimited file. It must have actual tabs, and I cannot figure out a way to make it work. The resulting file will be imported into another application (quickbooks) as an .iif file....for some reason, it needs the tabs; spaces do... (2 Replies)
Discussion started by: KathyB148
2 Replies
9. Shell Programming and Scripting
I have the output like below:
DEV#: 9 DEVICE NAME: hdisk9 TYPE: 1750500 ALGORITHM: Load Balance
SERIAL: 68173531021
==========================================================================
Path# Adapter/Path Name State Mode Select Errors
0 ... (4 Replies)
Discussion started by: Daniel Gate
4 Replies
10. Shell Programming and Scripting
Hi All,
Need your help in resolving the below issue.
I've a file called "data.txt" with the below lines:
TT: <tell://me/sreenivas>
<tell://me/100>
TT: <tell://me/sudheer>
<tell://me/300>
TT: <tell://me/sreenivas>
<tell://me/200>
TT: <tell://me/sudheer>
<tell://me/400>
... (3 Replies)
Discussion started by: raosr020
3 Replies
LEARN ABOUT DEBIAN
glesetjoinstyle
gleSetJoinStyle(3GLE) GLE gleSetJoinStyle(3GLE)
NAME
gleSetJoinStyle, gleGetJoinStyle - Query and Set the GLE join style flags.
SYNTAX
void gleSetJoinStyle (int style);
int gleGetJoinStyle (void);
ARGUMENTS
style bitwise OR of flags
DESCRIPTION
Query and set the GLE join style flags. This word is a bitwise OR of the flags described below.
The initial join style is TUBE_JN_ANGLE | TUBE_JN_CAP | TUBE_NORM_FACET.
Extrusion Join Styles
TUBE_JN_RAW
Draw polycylinders, polycones, extrusions, etc. with no special treatment of the extrusion ends.
TUBE_JN_ANGLE
Draw polycylinders, polycones, extrusions, etc. by extending the different segments until they butt into each other with an angular
style.
TUBE_JN_CUT
Draw polycylinders, polycones, extrusions, etc. by joining together the different segments and slicing off the joint at half the
angle between the segments. A cap is drawn. Note that the slicing plane runs through the origin of the contour coordinate system.
Thus, the amount of slice can be varied by offsetting the contour with respect to the origin.
Note that when two segments meet at a shallow angle, the cut join style will potentially shave off a whole lot of the contour, lead-
ing to "surprising" results...
TUBE_JN_ROUND
Joints will be rounded. Strictly speaking, the part of the joint above the origin will be rounded. The part below the origin will
come together in an angular join.
TUBE_JN_MASK
Mask bits. This can be used to mask off the bit field that defines the join style.
End Caps
TUBE_JN_CAP
If this is set, a cap will be drawn at each end of the extrusion.
Automatic Normal Vector Generation
TUBE_NORM_FACET
A normal vector is generated per facet. Useful for having an extrusion have a "faceted" look, such as when extruding a square --
each of the four sides of the square will look flat.
TUBE_NORM_EDGE
Normal vectors are generated so that they lie along edges. Useful for making angular things look rounded under lighting. For exam-
ple, when extruding a hexagon and using this flag, the hexagonal extrusion will look (more like a) smooth perfectly round cylinder,
rather than a six-sided shape.
TUBE_NORM_PATH_EDGE
Normal vectors are generated so that they both lie on edges, and so that they interpolate between neighboring segments. Useful for
drawing "spaghetti" -- extrusions that follow a spline path. Because the spline path must be "tessellated" into small straight seg-
ments, each segment will look straight unless this flag is set.
TUBE_NORM_MASK
A mask useful for masking out the "norm" bits.
Closed or Open Contours
TUBE_CONTOUR_CLOSED
If this bit is set, the contour will be treated as a "closed" contour, where the last point connects back up to the first. It is
useful to set this flag when drawing closed shapes (such as extruded cylinders, star-shapes, I-Beams, etc. When drawing open extru-
sions (e.g. corrugated sheet metal), you DON'T want to set this flag.
BUGS
Multiple threads using GLE share a single global join style (although this should be easily fixable because GLE does use a centralized
graphics context).
SEE ALSO
gleExtrusion, gleTextureMode
AUTHOR
Linas Vepstas (linas@linas.org)
GLE
3.0 gleSetJoinStyle(3GLE)