hello friends...:-)
i need some help
i have a file cantain like this
Star1 ,NetWork,09/02/2008
Star1 ,NetWork,10/02/2008
Star1 ,NetWork,11/02/2008
Star2 ,NetWork,08/03/2008
Star2 ,NetWork,09/04/2008
Star2 ,NetWork,10/05/2008
i need to find out min, max dates
the output look like... (6 Replies)
hi!
i have a file like the attachement.
I'd like to get for each line the min, max and average values. (there is 255 values for each line)
how can i get that ?
i try this, is it right?
BEGIN {FS = ","; OFS = ";";max=0;min=0;moy=0;total=0;freq=890}
$0 !~ /Trace1:/ {
... (1 Reply)
I am redirecting my ping output to a file. The sample output is like this:
64 bytes from xx.xx.xx.167: icmp_seq=4490 ttl=116 3.75 ms 2011Jul12- 15 40 16
64 bytes from xx.xx.xx.167: icmp_seq=4491 ttl=116 5.29 ms 2011Jul12- 15 40 17
64 bytes from xx.xx.xx.167: icmp_seq=4492 ttl=116 4.88 ms... (6 Replies)
Hello Experts,
I have got a txt files which has multiple columns, I want to get the max, min and diff (max-min) for each column in the same txt file. Example:
cat file.txt
a 1 4
b 2 5
c 3 6
I want ouput like:
cat file.txt
a 1 4
b 2 5
c 3 6
Max 3 6
Min 1 4
Diff 2 2
awk 'min=="" ||... (4 Replies)
Hi all,
I have a list of numbers. I need an awk command to find out the numbers of elements (number of numbers, sort to speak), the average value the min and max value. Reading the list only once, with awk.
Any ideas?
Thanks! (5 Replies)
Hi,
I have a file which looks like this:
FID IID MISS_PHENO N_MISS N_GENO F_MISS
12AB43131 12AB43131 N 17774 906341 0.01961
65HJ87451 65HJ87451 N 10149 906341 0.0112
43JJ21345 43JJ21345 N 2826 906341 0.003118I would... (11 Replies)
I need to find the max/min of columns 1 and 2 of a 2 column file what contains the special character ">".
I know that this will find the max value of column 1.
awk 'BEGIN {max = 0} {if ($1>max) max=$1} END {print max}' input.file
But what if I needed to ignore special characters in the... (3 Replies)
Hi All,
need your help, i want count respon time max and average my nginx logs, based on hourly or minutes per api...
my nginx.log sample :
10.1.1.1 - - "POST /v2/api/find/outlet/ HTTP/1.1" 200 2667 "-" "okhttp/3.12.0" "118.215.153.47" 0.178 0.178 .
10.1.1.1 - - "POST... (4 Replies)
Discussion started by: fajar_3t3
4 Replies
LEARN ABOUT DEBIAN
chart::clicker::decoration::legend::tabular
Chart::Clicker::Decoration::Legend::Tabular(3pm) User Contributed Perl Documentation Chart::Clicker::Decoration::Legend::Tabular(3pm)NAME
Chart::Clicker::Decoration::Legend::Tabular - Tabular version of Legend
VERSION
version 2.83
SYNOPSIS
my $cc = Chart::Clicker->new;
my $series1 = Chart::Clicker::Data::Series->new;
my $series2 = Chart::Clicker::Data::Series->new;
$cc->legend(Chart::Clicker::Decoration::Legend::Tabular->new(
header => [ qw(Name Min Max) ],
data => [
[ min(@{ $series1->values }), max(@{ $series1->values }) ],
[ min(@{ $series2->values }), max(@{ $series2->values }) ]
]
));
DESCRIPTION
Chart::Clicker::Decoration::Legend::Tabular draws a legend on a Chart with tabular data display.
The Tabular legend is a legend with a few extra attributes that allow you to pass it data to display. The attributes are c<header> and
c<data>. The "header" (optional) allows you to specify the strings to display at the top of the table and the "data" attribute allows you
to pass in arrayrefs of strings for display aside each of the series.
Note: The first string in the "header" arrayref should be the header for the column above the name of the series. This code does not do
anything to verify that you've given the appropriate counts of data. It is expected that you will provide "data" with one arrayref for
every series, each containing n elements. Having that, "header" will expect n + 1 elements with one for the series name and the remaining
(n) matching the number of elements in each of "data"'s arrayrefs.
ATTRIBUTES
border
Set/Get this Legend's border.
color
Set/Get the color to use as the foreground for the legend.
data
Set/Get the data for this legend. Expects an arrayref of arrayrefs, with one inner arrayref for every series charted.
font
Set/Get the font used for this legend's items.
header
Set/Get the header data used for this legend. Expects an arrayref of Strings.
insets
Set/Get this Legend's insets.
item_padding
Set/Get the padding for this legend's items.
METHODS
has_header
Predicate returning true of this legend has a header, else 1.
AUTHOR
Cory G Watson <gphat@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-22 Chart::Clicker::Decoration::Legend::Tabular(3pm)