04-03-2014
Hi blakeoft,
Really many thanks for your assist.
The awk code looks awesome to me.
I'm really appreciate your help.
I will "digest" the meaning of your awk code.
Thanks again and a lot.
It really useful for me
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Does anyone know an equiv of lscfg -vp for HP-UX? (2 Replies)
Discussion started by: sam_pointer
2 Replies
2. Programming
I have configured my firewall to allow only five remote IP's to connect to my server. Upon connection...i would like to automate the Xsession functions for authorized IP's.
Mainly, $DISPLAY of the environment to the client.
I understand that the "gethostbyaddr" function is capable of this.... (0 Replies)
Discussion started by: thomas.jones
0 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Let me explain the problem clearly:
Let the entries in my file be:
lion,tiger,bear
apple,mango,orange,apple,grape
unix,windows,solaris,windows,linux
red,blue,green,yellow
orange,maroon,pink,violet,orange,pink
Can we detect the lines in which one of the words(separated by field... (8 Replies)
Discussion started by: srinivasan_85
8 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I have a huge unix flat file delimted by @ at the end of the line. I need to find out if there is any line/s containing @ in between the line so that I can remove that and put the file for processing.
Thanks in advance for your help. (4 Replies)
Discussion started by: b.paramanatti
4 Replies
5. UNIX for Dummies Questions & Answers
FILE_DATE=`date +%Y%m%d`
current mth code is 200808
How can i find the 56 mths back mth code. (1 Reply)
Discussion started by: dr46014
1 Replies
6. Shell Programming and Scripting
How can I plot a straight horizontal line using perl in unix solaris environment?
Please suggest.
Pooja (2 Replies)
Discussion started by: wadhwa.pooja
2 Replies
7. Shell Programming and Scripting
Hi guys
I have an input file with multiple columns and and rows.
Is it possible to calculate correlation of certain value of certain No (For example x of S1 = 112) with all other values (for example start with x 112 corr a 3 of S1 = x-a 0.2 )
INPUT
*******
No S1 S2 S3 S4 Sn
a 3 ... (2 Replies)
Discussion started by: quincyjones
2 Replies
8. Shell Programming and Scripting
Hi guys. Can anyone tell me how to determine points between two coardinates. For example: Which type of command line gives me
50 points between (8, -5, 7) and (2, 6, 9) points
Thanks (5 Replies)
Discussion started by: rpf
5 Replies
9. Shell Programming and Scripting
I am interested in finding a regex to find a word in second position on a line. The word in question is या
I tried the following PERL EXPRESSION but it did not work:
] या
or
^\W या
But both gave Null results
I am giving below a Sample file:
देना या सौंपना=delegate
तह जमना या... (8 Replies)
Discussion started by: gimley
8 Replies
10. Shell Programming and Scripting
I am trying to use awk to identify and print out records in fields that are empty along with which line they are in. I hope the awk below is close, it runs but nothing results. Thank you :).
awk
awk -F'\t' 'FNR==NR ~ /^*$/ { print "NR is empty" }' file
file
123 GOOD ID 45... (3 Replies)
Discussion started by: cmccabe
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)