here's how to get the data out of A file:
Search the forums how to get the previous day date - there're multiple threads of the subject including the one in the FAQ area.
We have data files that are ftp'd every morning to a SUN server. The file names are exactly the same except for that each has the date included in its name. I have to write script to do 2 things:
STEP 1) Verify that the file arrived in morning.
STEP 2) Compare the file size of the current... (3 Replies)
Hi All,
I need to find the previous month last day minus one day, using shell script. Can you guys help me to do this.
My Requirment is as below:
Input for me will be 2000909(YYYYMM)
I need the previous months last day minus 1 day timestamp. That is i need 2000908 months last day minus ... (3 Replies)
Hi,
i am developing a script for my project. In my script i need to check some conditions based upon some values. in that one value is the previous date. with the previous date i need to check and process some values. I have a function with me retrieve the yesterdays date.
But now i have a... (6 Replies)
Hi,
I am trying to locate the occurences of certain pattern like 'Possible network disconnect' in a text file. I can get the actual lines matching the pttern using:
grep -w 'Possible network disconnect' file_name.
But I am more interested in getting the timing of these events which are... (7 Replies)
Hi guys,
I had a scenario...
1. I had to get the previous days date in yyyymmdd format
2. i had to create a file with Date inthe format yyyymmdd.txt format
both are different
thanks guys in advance.. (4 Replies)
Hi,
I would like to write a script that checks if a file ('counter') was modified the previous day, if so erase its contents and write 00000000 into it.
For e.g. if the file 'counter' was last modified at 11.30pm on 24th May and the script runs at 12.15am of 25th May, it should erase it's... (1 Reply)
Hi All,
I have a requirement where I need to first capture the current day & move all the files from a particular directory based on a previous day.
i.e move all the files from one directory to another based on current day & a previous day. Here is what I am trying, but it gives me errors.... (2 Replies)
I want to remove commands having no output. In below text file.
bash-3.2$ cat abc_do_it.txt
grpg10so>show trunk group all status
grpg11so>show trunk group all status
grpg12so>show trunk group all status
GCPKNYAIGT73IMO 1440 1345 0 0 94 0 0 INSERVICE 93% 0%... (4 Replies)
Hi Expert,
I am new to UNIX , I am looking for a script which can show me list of file created on previous date within specified directory.
Regards,
Mack (9 Replies)
Hello,
I know that gnu grep has option of -A and -B to extra previous and next lines.
But I'm using HP UX and its grep does not support these options.
BID="0/0/6/1/1.145.17.255.0.0.0"
I need to search a file using $BID and get next 5 lines and previous 5 lines separately.
Please... (1 Reply)
Discussion started by: reddyr
1 Replies
LEARN ABOUT DEBIAN
ical::parser::html
iCal::Parser::HTML(3pm) User Contributed Perl Documentation iCal::Parser::HTML(3pm)NAME
iCal::Parser::HTML - Generate HTML calendars from iCalendars
SYNOPSIS
use iCal::Parser::HTML;
my $parser=iCal::Parser::HTML->new;
print $parser->parse(type=>$type,start=>$date,files=>[@icals]);
DESCRIPTION
This module uses iCal::Parser::SAX and XML::LibXSLT with included stylesheets to generates html calendars from icalendars.
The html document generated includes (when appropriate) a sidebar containing a legend, a list of todos and a three month calendar for the
previous, current and next months.
The stylesheets are stored in the HTML/stylesheet directory under the installed package directory.
Also included in this package are an optionally installed command line program "ical2html" in scripts and, in the example directory, a cgi
handler ("ical.cgi" in examples) and a stylesheet ("calendar.css" in examples) for formatting the html output. Note that the html output
will look quite broken without the stylesheet.
ARGUMENTS
The following arguments are processed by this module. Any addtional arguments are passed to iCal::Parser::SAX.
type
The type of calendar to generate. One of: "day", "week", "month" or "year". The daily, weekly and monthly calendars include the
sidebar. The calendar generated will be for the specified period (day, week, etc.) which includes the specified date.
start
The date to generated the calendar for. The date only needs to be specified to the precision necessary for the type of calendar. That
is, "YYYY" for a yearly calendar, "YYYYMM" for a monthly, and "YYYYMMDD" for daily and weekly. In addition, the date can be in one of
the following forms:
YYYY[MM[DD]]
YYYY[-MM[-DD]]
A DateTime object initialized to the necessary precision
files
An array reference to the list of icalendars to include in the results.
url If this params is specified, then the html output will contain links back to this url for getting other calendar periods. The params
"type" and "date" will be appended to this url when generating the links.
AUTHOR
Rick Frankel, cpan@rickster.com
COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
SEE ALSO
iCal::Parser::SAX, XML::LibXML::SAX::Builder, XML::LibXSLT, DateTime
perl v5.14.2 2012-01-25 iCal::Parser::HTML(3pm)