generating data for 1 hour


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting generating data for 1 hour
# 1  
Old 03-17-2008
generating data for 1 hour

Hi Folks,
The reqirement is that i need to generate 1 hr file with a time interval of five minutes..
For ex:
my i/p is
0000-0000
and desired o/p is
0000-0005
0005-0010
0010-0015
0015-0020
0020-0025
0025-0030
0030-0035
0040-0045
0050-0055
0055-0100

Script neede urgent

Regards,
Aajan
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Average of multiple time-stamped data every half hour

Hi All, Thank you for reading through my post and helping me figure out how I would be able to perform this task. For example: I have a list of continuous output collected into a file in the format as seen below: Date...........Time........C....A......... B ==========================... (5 Replies)
Discussion started by: terrychen
5 Replies

2. Shell Programming and Scripting

Generating summary data (use awk?)

I have a data file similar to this (but many millions of lines long). You can assume that it is totally unsorted but has no duplicate rows. Date ,Tool_Type ,Tool_ID ,Time_Used 3/13/2014,Screwdriver,Screwdriver02, 6 3/13/2014,Screwdriver,Screwdriver02,20... (2 Replies)
Discussion started by: Michael Stora
2 Replies

3. Shell Programming and Scripting

Generating CSV from Column data

Hi List, I have a chunk of data like so: User Account Control: User Account Control: User Account Control: User Account Control: Disabled User Account Control: User Account Control: User Account Control: Disabled User Account Control: User Account Control: ... (3 Replies)
Discussion started by: landossa
3 Replies

4. UNIX for Dummies Questions & Answers

Generating 512MB file with dd using random data

Hello. Could anyone help me with my little annoying problem? I have to generate a 512 MB file made up with random data using DD. After some internet digging I found out that the command is: dd if=/dev/urandom of=/exemple/file bs=512MB After running this command the... (2 Replies)
Discussion started by: razolo13
2 Replies

5. Shell Programming and Scripting

Help generating a script for next-generation sequencing data

I am not sure if this is entirely possible, but I want to compare data in a particular column in several .txt files and have a new file generated. I am a biologist with limited unix knowledge. There are currently no programs written for this type of analysis. First I would like to define the... (1 Reply)
Discussion started by: kellywilliams
1 Replies

6. UNIX for Advanced & Expert Users

filter last 24 hour data and put in new file

i have file server 1 (filesvr01acess.log) and disc server 1 (discsvr01acess.log) in unix box(say ip adress of the box 10.39.66.81) Similiarly i have file server 2 (filesvr01acess.log) and disc server 2(discsvr01acess.log) in another unix box(say ip adress of the box 10.39.66.82). Now my... (1 Reply)
Discussion started by: nripa1
1 Replies

7. Shell Programming and Scripting

Counting average data per hour

Hi i have log like this : Actually i will process the data become Anybody can help me ? (6 Replies)
Discussion started by: justbow
6 Replies

8. Shell Programming and Scripting

How can i grep for an hour before data

Hi, My log file is something like this. (08/04/2009 00:27:42.179)(:) aaaaaaaaaaaa (08/04/2009 00:27:42.181)(:) bbbbbbbbbbbbbbbb (08/04/2009 01:00:42.713)(:) cd cdc d ddddsksjdkssksksj (08/04/2009 01:02:42.716)(:) raarrarararararara (08/04/2009 01:07:43.036)(:ERROR) Port... (8 Replies)
Discussion started by: rdhanek
8 Replies

9. Shell Programming and Scripting

generating reports based on time field of network data

hi i have data extracted in the following format ranging around 300000 to 800000 records in a text file , the format is of network data . No. Time Source Destination Protocol 1 1998-06-05 17:20:23.569905 HP_61:aa:c9 HP_61:aa:c9 ... (1 Reply)
Discussion started by: renukaprasadb
1 Replies
Login or Register to Ask a Question
DateTime::Locale::fa_AF(3)				User Contributed Perl Documentation				DateTime::Locale::fa_AF(3)

NAME
DateTime::Locale::fa_AF SYNOPSIS
use DateTime; my $dt = DateTime->now( locale => 'fa_AF' ); print $dt->month_name(); DESCRIPTION
This is the DateTime locale package for Persian Afghanistan. DATA
This locale inherits from the DateTime::Locale::fa locale. It contains the following data. Days Wide (format) XXXXXX XXXXXXX XXXXXXXX XXXXXXX XXXX XXXX XXXXXX Abbreviated (format) XXXXXX XXXXXXX XXXXXXXX XXXXXXX XXXX XXXX XXXXXX Narrow (format) X X X X X X X Wide (stand-alone) XXXXXX XXXXXXX XXXXXXXX XXXXXXX XXXX XXXX XXXXXX Abbreviated (stand-alone) 2 3 4 5 6 7 1 Narrow (stand-alone) X X X X X X X Months Wide (format) XXXXX XXXXXX XXXX XXXXX XX XXX XXXXX XXXX XXXXXX XXXXXX XXXXX XXXXX Abbreviated (format) XXXXX XXXXXX XXXX XXXXX XX XXX XXXXX XXXX XXXXXX XXXXXX XXXXX XXXXX Narrow (format) X X X X X X X X X X X X Wide (stand-alone) XXXXX XXXXXX XXXX XXXXX XX XXX XXXXX XXXX XXXXXX XXXXXX XXXXX XXXXX Abbreviated (stand-alone) XXXXX XXXXXX XXXX XXXXX XX XXX XXXXX XXXX XXXXXX XXXXXX XXXXX XXXXX Narrow (stand-alone) X X X X X X X X X X X X Quarters Wide (format) XXXXXXXX XXX XXXXXXXX XXX XXXXXXXX XXX XXXXXXXX XXXXX Abbreviated (format) XXXX XXXX XXXX XXXX Narrow (format) X X X X Wide (stand-alone) XXXXXXXX XXX XXXXXXXX XXX XXXXXXXX XXX XXXXXXXX XXXXX Abbreviated (stand-alone) XXXX XXXX XXXX XXXX Narrow (stand-alone) X X X X Eras Wide XXX XX XXXXX XXXXXX Abbreviated X.X. X. Narrow X X Date Formats Full 2008-02-05T18:30:30 = XXXXXXX 5 XXXXXX 2008 1995-12-22T09:05:02 = XXXX 22 XXXXX 1995 -0010-09-15T04:44:23 = XXXX 15 XXXXXX -10 Long 2008-02-05T18:30:30 = 5 XXXXXX 2008 1995-12-22T09:05:02 = 22 XXXXX 1995 -0010-09-15T04:44:23 = 15 XXXXXX -10 Medium 2008-02-05T18:30:30 = 2008/2/5 1995-12-22T09:05:02 = 1995/12/22 -0010-09-15T04:44:23 = -010/9/15 Short 2008-02-05T18:30:30 = 08/2/5 1995-12-22T09:05:02 = 95/12/22 -0010-09-15T04:44:23 = -10/9/15 Default 2008-02-05T18:30:30 = 5 XXXXXX 2008 1995-12-22T09:05:02 = 22 XXXXX 1995 -0010-09-15T04:44:23 = 15 XXXXXX -10 Time Formats Full 2008-02-05T18:30:30 = 18:30:30 (UTC) 1995-12-22T09:05:02 = 9:05:02 (UTC) -0010-09-15T04:44:23 = 4:44:23 (UTC) Long 2008-02-05T18:30:30 = 18:30:30 (UTC) 1995-12-22T09:05:02 = 9:05:02 (UTC) -0010-09-15T04:44:23 = 4:44:23 (UTC) Medium 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 9:05:02 -0010-09-15T04:44:23 = 4:44:23 Short 2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 9:05 -0010-09-15T04:44:23 = 4:44 Default 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 9:05:02 -0010-09-15T04:44:23 = 4:44:23 Datetime Formats Full 2008-02-05T18:30:30 = XXXXXXX 5 XXXXXX 2008X XXXX 18:30:30 (UTC) 1995-12-22T09:05:02 = XXXX 22 XXXXX 1995X XXXX 9:05:02 (UTC) -0010-09-15T04:44:23 = XXXX 15 XXXXXX -10X XXXX 4:44:23 (UTC) Long 2008-02-05T18:30:30 = 5 XXXXXX 2008X XXXX 18:30:30 (UTC) 1995-12-22T09:05:02 = 22 XXXXX 1995X XXXX 9:05:02 (UTC) -0010-09-15T04:44:23 = 15 XXXXXX -10X XXXX 4:44:23 (UTC) Medium 2008-02-05T18:30:30 = 2008/2/5X XXXX 18:30:30 1995-12-22T09:05:02 = 1995/12/22X XXXX 9:05:02 -0010-09-15T04:44:23 = -010/9/15X XXXX 4:44:23 Short 2008-02-05T18:30:30 = 08/2/5X XXXX 18:30 1995-12-22T09:05:02 = 95/12/22X XXXX 9:05 -0010-09-15T04:44:23 = -10/9/15X XXXX 4:44 Default 2008-02-05T18:30:30 = 5 XXXXXX 2008X XXXX 18:30:30 1995-12-22T09:05:02 = 22 XXXXX 1995X XXXX 9:05:02 -0010-09-15T04:44:23 = 15 XXXXXX -10X XXXX 4:44:23 Available Formats d (d) 2008-02-05T18:30:30 = 5 1995-12-22T09:05:02 = 22 -0010-09-15T04:44:23 = 15 EEEd (EEE d) 2008-02-05T18:30:30 = XXXXXXX 5 1995-12-22T09:05:02 = XXXX 22 -0010-09-15T04:44:23 = XXXX 15 GGGGyyyyMMMMd (d MMMM y GGGG) 2008-02-05T18:30:30 = 5 XXXXXX 2008 XXXXXX 1995-12-22T09:05:02 = 22 XXXXX 1995 XXXXXX -0010-09-15T04:44:23 = 15 XXXXXX -10 XXX XX XXXXX HHmmZ (HH:mm (Z)) 2008-02-05T18:30:30 = 18:30 (+0000) 1995-12-22T09:05:02 = 09:05 (+0000) -0010-09-15T04:44:23 = 04:44 (+0000) Hm (H:mm) 2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 9:05 -0010-09-15T04:44:23 = 4:44 hm (h:mm a) 2008-02-05T18:30:30 = 6:30 XXX XX XXX 1995-12-22T09:05:02 = 9:05 XXX XX XXX -0010-09-15T04:44:23 = 4:44 XXX XX XXX Hms (H:mm:ss) 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 9:05:02 -0010-09-15T04:44:23 = 4:44:23 hms (h:mm:ss a) 2008-02-05T18:30:30 = 6:30:30 XXX XX XXX 1995-12-22T09:05:02 = 9:05:02 XXX XX XXX -0010-09-15T04:44:23 = 4:44:23 XXX XX XXX M (L) 2008-02-05T18:30:30 = 2 1995-12-22T09:05:02 = 12 -0010-09-15T04:44:23 = 9 Md (M/d) 2008-02-05T18:30:30 = 2/5 1995-12-22T09:05:02 = 12/22 -0010-09-15T04:44:23 = 9/15 MEd (E M/d) 2008-02-05T18:30:30 = XXXXXXX 2/5 1995-12-22T09:05:02 = XXXX 12/22 -0010-09-15T04:44:23 = XXXX 9/15 MMM (LLL) 2008-02-05T18:30:30 = XXXXXX 1995-12-22T09:05:02 = XXXXX -0010-09-15T04:44:23 = XXXXXX MMMd (d LLL) 2008-02-05T18:30:30 = 5 XXXXXX 1995-12-22T09:05:02 = 22 XXXXX -0010-09-15T04:44:23 = 15 XXXXXX MMMEd (E d LLL) 2008-02-05T18:30:30 = XXXXXXX 5 XXXXXX 1995-12-22T09:05:02 = XXXX 22 XXXXX -0010-09-15T04:44:23 = XXXX 15 XXXXXX MMMMd (d LLLL) 2008-02-05T18:30:30 = 5 XXXXXX 1995-12-22T09:05:02 = 22 XXXXX -0010-09-15T04:44:23 = 15 XXXXXX MMMMEd (E d LLLL) 2008-02-05T18:30:30 = XXXXXXX 5 XXXXXX 1995-12-22T09:05:02 = XXXX 22 XXXXX -0010-09-15T04:44:23 = XXXX 15 XXXXXX mmss (mm:ss) 2008-02-05T18:30:30 = 30:30 1995-12-22T09:05:02 = 05:02 -0010-09-15T04:44:23 = 44:23 ms (mm:ss) 2008-02-05T18:30:30 = 30:30 1995-12-22T09:05:02 = 05:02 -0010-09-15T04:44:23 = 44:23 y (y) 2008-02-05T18:30:30 = 2008 1995-12-22T09:05:02 = 1995 -0010-09-15T04:44:23 = -10 yM (yyyy/M) 2008-02-05T18:30:30 = 2008/2 1995-12-22T09:05:02 = 1995/12 -0010-09-15T04:44:23 = -010/9 yMEd (E yyyy/M/d) 2008-02-05T18:30:30 = XXXXXXX 2008/2/5 1995-12-22T09:05:02 = XXXX 1995/12/22 -0010-09-15T04:44:23 = XXXX -010/9/15 yMMM (MMM y) 2008-02-05T18:30:30 = XXXXXX 2008 1995-12-22T09:05:02 = XXXXX 1995 -0010-09-15T04:44:23 = XXXXXX -10 yMMMEd (E d MMM y) 2008-02-05T18:30:30 = XXXXXXX 5 XXXXXX 2008 1995-12-22T09:05:02 = XXXX 22 XXXXX 1995 -0010-09-15T04:44:23 = XXXX 15 XXXXXX -10 yMMMM (MMMM y) 2008-02-05T18:30:30 = XXXXXX 2008 1995-12-22T09:05:02 = XXXXX 1995 -0010-09-15T04:44:23 = XXXXXX -10 yQ (yyyy Q) 2008-02-05T18:30:30 = 2008 1 1995-12-22T09:05:02 = 1995 4 -0010-09-15T04:44:23 = -010 3 yQQQ (y QQQ) 2008-02-05T18:30:30 = 2008 XXXX 1995-12-22T09:05:02 = 1995 XXXX -0010-09-15T04:44:23 = -10 XXXX yyQ (Q yy) 2008-02-05T18:30:30 = 1 08 1995-12-22T09:05:02 = 4 95 -0010-09-15T04:44:23 = 3 -10 yyyyM (yyyy/M) 2008-02-05T18:30:30 = 2008/2 1995-12-22T09:05:02 = 1995/12 -0010-09-15T04:44:23 = -010/9 yyyyMMMM (MMMM y) 2008-02-05T18:30:30 = XXXXXX 2008 1995-12-22T09:05:02 = XXXXX 1995 -0010-09-15T04:44:23 = XXXXXX -10 yyyyMMMMEEEEd (EEEE d MMMM y) 2008-02-05T18:30:30 = XXXXXXX 5 XXXXXX 2008 1995-12-22T09:05:02 = XXXX 22 XXXXX 1995 -0010-09-15T04:44:23 = XXXX 15 XXXXXX -10 Miscellaneous Prefers 24 hour time? Yes Local first day of the week XXXX SUPPORT
See DateTime::Locale. AUTHOR
Dave Rolsky <autarch@urth.org> COPYRIGHT
Copyright (c) 2008 David Rolsky. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. This module was generated from data provided by the CLDR project, see the LICENSE.cldr in this distribution for details on the CLDR data's license. perl v5.16.3 2014-06-10 DateTime::Locale::fa_AF(3)