08-07-2001
angle brackets should be escaped automatically
I think that HTML code within posts should be turned off -- the vB Code can provide all the features we need. Then, you should modify the program to automatically escape any angle brackets, so that < gets translated to &lt; and > gets translated to &gt;
I see a lot of people garble their posts by trying to use angle brackets in their message. Angle brackets are so frequently used to denote parameters in unix command lines, that this make sense to me ...
9 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
From the Apache thread in the Adanced forum:
Thats because your browser interprets anything within angle brackets to be an HTML tag. You need to quote these brackets if you want them to appear correctly. The proper quotes are:
&lt; for <
and
&gt; for >
So, for example, you would have... (1 Reply)
Discussion started by: PxT
1 Replies
2. HP-UX
Everyone seemed to be a little stumped by the multicore question I asked earlier this week, so I decided I'd try a different angle.
Turns out that on a multicore system HP-UX reports every core as a seperate processor. All the usual commands (ioscan, top, etc.) report two processors for every... (7 Replies)
Discussion started by: Midcain
7 Replies
3. Linux
How can I configure it?
I have a swedish keyboard with swedish keyboard setting. Everything works perfectly (едц) except that button. What can be wrong?
/Richard
++
NOTE: It seems like the computer notices the input but that the button isn't assigned to anything (the keyboard-cursor stops).... (1 Reply)
Discussion started by: riwa
1 Replies
4. Shell Programming and Scripting
Hi All,
I have got an echo statement with "\c" in it to avoid getting into a newline. Ths script is using #!\bin\sh
Any idea what could make it to escape "\c" (4 Replies)
Discussion started by: asami
4 Replies
5. Shell Programming and Scripting
Hi all,
I'm new in unix scripting and I've a problem with a script... :confused:
I need to read a file, add some fields in the records, and write them in another file, but even when I simply read and write the records, the shell interprets some caracters and the result is that the records... (5 Replies)
Discussion started by: Macs_Linux
5 Replies
6. Solaris
Hi, this is my first post and hope to make some contribution soon.
I'm still learning the basics of UNIX and Linux and BASH. Thus my need to understand the subject at hand. I don't have a problem with technical detail, so hit me :)
I have a script where two commands use the contents of a... (2 Replies)
Discussion started by: doublefrangelic
2 Replies
7. Shell Programming and Scripting
Hi All,
I have a text file which looks like this:
computer programming
systems engineering
I want to get rid of these square brackets and also the text that is inside these brackets. So that my final text file looks like this:
computer programming
systems engineering
I am using... (3 Replies)
Discussion started by: shoaibjameel123
3 Replies
8. Shell Programming and Scripting
Hi
Input:
-
--
---
----
aa-bb-cc
aa--bb--cc
aa---bb---cc
aa----bb----cc
Output:
.
-
-.
--
aa.bb.cc (7 Replies)
Discussion started by: chitech
7 Replies
9. UNIX for Dummies Questions & Answers
Not sure if this is possible, but I'm trying to read in a variable that needs to have its escape backslashes intact. So the person who enters the actual value does not have to type any \ characters. Example:
read list
X1000\ filecab.txt
echo "$list"
In this case the \ needs to be... (3 Replies)
Discussion started by: newbie2010
3 Replies
LEARN ABOUT DEBIAN
plgradient
PLGRADIENT(3plplot) PLplot API PLGRADIENT(3plplot)
NAME
plgradient - Draw linear gradient inside polygon
SYNOPSIS
plgradient(n, x, y, angle)
DESCRIPTION
Draw a linear gradient using colour map 1 inside the polygon defined by the n points (x[i], y[i]). Interpretation of the polygon is the
same as for plfill(3plplot). The polygon coordinates and the gradient angle are all expressed in world coordinates. The angle from the x
axis for both the rotated coordinate system and the gradient vector is specified by angle. The magnitude of the gradient vector is the
difference between the maximum and minimum values of x for the vertices in the rotated coordinate system. The origin of the gradient vec-
tor can be interpreted as being anywhere on the line corresponding to the minimum x value for the vertices in the rotated coordinate sys-
tem. The distance along the gradient vector is linearly transformed to the independent variable of colour map 1 which ranges from 0. at
the tail of the gradient vector to 1. at the head of the gradient vector. What is drawn is the RGBA colour corresponding to the indepen-
dent variable of colour map 1. For more information about colour map 1 (see the PLplot documentation).
Redacted form: plgradient(x,y,angle)
This function is used in examples 25,30.
ARGUMENTS
n (PLINT, input)
Number of vertices in polygon.
x (PLFLT *, input)
Pointer to array with x coordinates of vertices.
y (PLFLT *, input)
Pointer to array with y coordinates of vertices.
angle (PLFLT, input)
Angle (degrees) of gradient vector from x axis.
AUTHORS
Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This man page was automatically generated from the DocBook source of the
PLplot documentation, maintained by Alan W. Irwin and Rafael Laboissiere.
SEE ALSO
PLplot documentation at http://plplot.sourceforge.net/resources.
August, 2012 PLGRADIENT(3plplot)