Sponsored Content
Full Discussion: Logic help with Scenario
Top Forums Shell Programming and Scripting Logic help with Scenario Post 302595044 by joshiamit on Thursday 2nd of February 2012 01:49:55 AM
Old 02-02-2012
Thanks for the response

Quote:
Originally Posted by methyl
What would May 2012 and Aug 2012 look like?

Why would one need this table?
May will look like this
Code:
5/5/2012 apr 2 N Y
5/5/2012 may 5 Y N
5/12/2012 may 0 N N
5/19/2012 may 0 N N
5/26/2012 may 0 N N
6/2/2012 may 5 N Y
6/2/2012 jun 2 Y N
Aug :
8/4/2012 jul 3 N Y
8/4/2012 aug 4 Y N
8/11/2012 aug 0 N N
8/18/2012 aug 0 N N
8/25/2012 aug 0 N N
9/1/2012 aug 6 N Y
9/1/2012 sep 1 Y N

Regarding 2nd point one will definatively need this table in year process where you load the dates which is refer in processes which runs throughout year.

Last edited by Scott; 02-04-2012 at 05:24 PM.. Reason: Code tags...
 

We Also Found This Discussion For You

1. Emergency UNIX and Linux Support

Help in below scenario

Hi, my file has the data like below: 11,231,ABCVAV 22,AAHJHAj22,hdsjkhdls 22,dhskjhdkshd 22,gdgkdkadh 11,232,dgsjgdjh 22,ghdskahdkja 22,shdkajshs 11,233,ddjs 22,dhjkahkd 22,hsajhaah 11,231,sjkjsjj 22,ahkh 22,hsakh From the above i need only the records which starts as 11,231... (5 Replies)
Discussion started by: pandeesh
5 Replies
CHECK-ZONE-EXPIRATION(1p)				User Contributed Perl Documentation				 CHECK-ZONE-EXPIRATION(1p)

NAME
check-zone-expiration SYNOPSIS
# check-zone-expiration dnssec-tools.org paypal.com dnssec-tools.org will expire in 26 days, 2 hours, 16 minutes, 36 seconds paypal.com will expire in 12 days, 17 hours, 7 minutes, 1 second # check-zone-expiration -m 1123200 dnssec-tools.org paypal.com paypal.com will expire in 12 days, 17 hours, 6 minutes, 22 seconds DESCRIPTION
The check-zone-exiration script reports how long until a zone will expire by querying for the zone's (top level) RRSIG and calculating how much time is left before the signatures will no longer be valid. It will then report how much time is left in human readable form. If the -m switch is provided with a time argument (in seconds), it will only print output for zones that have less than that time left. OPTIONS
-m STRING --minimum-reporting=STRING Minimum reporting time, or else be silent for the zone COPYRIGHT
Copyright 2012-2012 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details. AUTHOR
Wes Hardaker, hardaker@tislabs.com SEE ALSO
donuts(1) perl v5.14.2 2012-05-07 CHECK-ZONE-EXPIRATION(1p)
All times are GMT -4. The time now is 01:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy