I am trying to create a script that will read from a file two non-integer values (decimals) and add those values together. For example, I want to add 1.51 and -2.37 together and get the sum. Any ideas? Thanks! (2 Replies)
Hello All!
As a beginner user i want to add up sequential values in a text file and want to print total sum as output.The Text file will have values like the following:
class1{root}>less SUM.txt
1140.00 1155.00 1183.00 ... # it continues #
i tried to write a... (1 Reply)
make a list based on the first column key and corresponding value (2nd column-bold) in input1 search values that less than or equal to 1000 (2nd column-bold)in the input2 of the same key along with other columns.
input
x1 10 hfffhf 646474_jhg
x2 100 jkfgjj 765755_jg
input2
x1... (16 Replies)
Hi All,
I have a file with thousands of lines in the following format, where
Field1=First 8 characters
Field2-9-16 characters
Field3=17-26 characters
I need to add Field 1 and Field2 and subtract the result from Field 3.
Field3=Field3 - (Field1 + Field2)
0012.00 0010.00 0001576.53... (4 Replies)
Dear Folks
Hello
I have a column of numbers, say:
26
79
68
I want to add one to each row value and get this desire column:
26
27
79
80
68
69 (6 Replies)
hi everybody :)
I am a beginner in bash and I want to convert the result I have here
I want it to be grouped by IP address
so iwanna get for each ip adsress the addition of all bandwidth where ip is 100.1.1.15
in other words for 100.1.1.15 it groups me all the values whose ip address is... (11 Replies)
Columns 4 and 5 are X and Y coordinates, column 6 is the elevation
I would like to add 2 new columns at the end of the file with values
the distance between first(X)(Y) and last location (X)(Y), based in 2 rows
the difference in elevation = ($6-prev6)
How to calculate the requested values... (6 Replies)
Discussion started by: jiam912
6 Replies
LEARN ABOUT DEBIAN
html::microformats::datatype::recurringdatetime
HTML::Microformats::Datatype::RecurringDateTime(3pm) User Contributed Perl Documentation HTML::Microformats::Datatype::RecurringDateTime(3pm)NAME
HTML::Microformats::Datatype::RecurringDateTime - a datetime that recurs
SYNOPSIS
my $r_datetime = HTML::Microformats::Datatype::RecurringDateTime->new($ical_string);
print "$r_datetime
";
DESCRIPTION
Constructors
"$r = HTML::Microformats::Datatype::RecurringDateTime->new($string, [$context])"
Creates a new HTML::Microformats::Datatype::RecurringDateTime object.
$string is an iCalendar-RRULE-style string.
"$r = HTML::Microformats::Datatype::RecurringDateTime->parse($string, $elem, $context)"
Creates a new HTML::Microformats::Datatype::RecurringDateTime object.
$string is perhaps an iCalendar-RRULE-style string. $elem is the XML::LibXML::Element being parsed. $context is the document context.
This constructor supports a number of experimental microformat interval patterns. e.g.
<span class="rrule">
The summer lectures are held held <span class="freq">yearly</span>,
every <span class="interval">2</span>nd year (1999, 2001, etc),
every <span class="byday">Sunday</span>
in January <abbr class="bymonth" title="1" style="display:none"></abbr>
at <span class="byhour">8</span>:<span class="byminute">30</span> and
repeated at <span class="byhour">9</span>:30.
</span>
"$r = HTML::Microformats::Datatype::RecurringDateTime->parse_string($string, [$context])"
Essentially just an alias for "new".
Public Methods
"$r->to_string"
Returns an iCal-RRULE-style formatted string representing the recurrance.
"$r->datatype"
Returns an the RDF datatype URI representing the data type of this literal.
"$r->add_to_model($model)"
Adds the recurring datetime to an RDF model as a resource (not a literal).
BUGS
Please report any bugs to <http://rt.cpan.org/>.
SEE ALSO
HTML::Microformats, HTML::Microformats::Datatype.
AUTHOR
Toby Inkster <tobyink@cpan.org>.
COPYRIGHT
Copyright 2008-2011 Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
perl v5.14.2 2011-12-06 HTML::Microformats::Datatype::RecurringDateTime(3pm)