01-30-2009
Solution for generating dates between given dates
'seq' is not my script..its a built in option for iterating a variable value in a sequence
ex: for x in $(seq 1 3) means x will be 1,2,3.
Is the script working ?......you may need to do some editing ...but the logic is in the last for loop.....it is quite messy with multiple if loops......
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I am new to Unix and was trying different ways of how to display the list of file names modified between a given date range in sorting order.I will get the fromdate and Todate from the browser, I need to display the list of all the file names that are modified between the given date... (1 Reply)
Discussion started by: prathima
1 Replies
2. Shell Programming and Scripting
Hi All,
I want a shell script which can display the file with in the date range.
For Example I have 15 files with the following format
abc_01-01-2009.txt to abc_15-01-2009.txt.
Now I want to have the files between 4th of jan to 12th files.
How can I acheive this.
Advance... (1 Reply)
Discussion started by: fareed_do
1 Replies
3. Shell Programming and Scripting
Hi all,
In Oracle we have got sysdate -1 to find the previous date. Is there any similar way to display date in unix shell scripting?
Kindly help me to display the last five dates from the given date
Thanks,
Geetha (11 Replies)
Discussion started by: iamgeethuj
11 Replies
4. Shell Programming and Scripting
Need to pull from a range of dates/times (ex. 6:00 AM March 3 through 6:00 AM March 4) from a folder and put those file names in a new file to process later. Dates would not be hard dates but dates from the folder directory, how would I do that? (9 Replies)
Discussion started by: freddie999
9 Replies
5. Shell Programming and Scripting
Hi guys,
I have been trying to create a list of dates from a certain range, ie.
range from 01011950 to 31122000
But when my below code reaches certain dates, it comes up with a;
'date: invalid date 'yyyy-mm-dd -d 1day'
Sofar I have come up with the following, slow and ugly;
... (4 Replies)
Discussion started by: TAPE
4 Replies
6. Emergency UNIX and Linux Support
Hi,
I am sure this is simple, but I am breaking my head.
I need 1 page with at the top a range of dates, 2002, 2003, 2004 etc
If you select 2002 it will show the content of 1 div, if you select 2002 the content of another div.
this is for showing announcements on a site, right now there... (1 Reply)
Discussion started by: lawstudent
1 Replies
7. Shell Programming and Scripting
Hi, i am very new to php Is it possible to display Range of date depend on user input day
example:
user input 2 day start from 28/4/12 it will add 2 day from date of input
so display should look like this
28/4/12 to 30/4/12
then from 30/412 user add another 4 date so will... (0 Replies)
Discussion started by: guidely
0 Replies
8. Shell Programming and Scripting
I have a data in a file called SCHED which has 5 columns: sched no, date, time, place and remarks. The image is shown below.
http://dl.dropbox.com/u/54949888/Screenshot%20from%202013-01-02%2002%3A42%3A25.png
Now, I want to display only the schedules which fall under a certain date range which... (2 Replies)
Discussion started by: angilulu
2 Replies
9. Shell Programming and Scripting
Hi Guys,
I want to display lines from Solaris syslog file but with 2 dates range. I have some similar solution (https://www.unix.com/shell-programming-scripting/39293-grep-log-file-between-2-dates-4.html) which works fine but as you know syslog has different date format (Jan 22) so this is not... (1 Reply)
Discussion started by: prashant2507198
1 Replies
10. Shell Programming and Scripting
Hi All,
I have 2 dates in mm/dd format.
sdate=10/01 (October 01)
edate=10/10 (October 10)
I need the dates in between these 2 dates like below.
10/01
10/02
10/03
10/04
10/05
10/06
10/07
10/08 (1 Reply)
Discussion started by: jayadanabalan
1 Replies
LEARN ABOUT DEBIAN
bio::seqio::kegg
Bio::SeqIO::kegg(3pm) User Contributed Perl Documentation Bio::SeqIO::kegg(3pm)
NAME
Bio::SeqIO::kegg - KEGG sequence input/output stream
SYNOPSIS
# It is probably best not to use this object directly, but
# rather go through the SeqIO handler system. Go:
use Bio::SeqIO;
$stream = Bio::SeqIO->new(-file => $filename, -format => 'KEGG');
while ( my $seq = $stream->next_seq() ) {
# do something with $seq
}
DESCRIPTION
This class transforms KEGG gene records into Bio::Seq objects.
Mapping of record properties to object properties
This section is supposed to document which sections and properties of a KEGG databank record end up where in the Bioperl object model. It
is far from complete and presently focuses only on those mappings which may be non-obvious. $seq in the text refers to the
Bio::Seq::RichSeqI implementing object returned by the parser for each record.
'ENTRY'
$seq->primary_id
'NAME'
$seq->display_id
'DEFINITION'
$seq->annotation->get_Annotations('description');
'ORTHOLOG'
grep {$_->database eq 'KO'} $seq->annotation->get_Annotations('dblink')
'CLASS'
grep {$_->database eq 'PATH'}
$seq->annotation->get_Annotations('dblink')
'POSITION'
FIXME, NOT IMPLEMENTED
'PATHWAY'
for my $pathway ( $seq->annotation->get_Annotations('pathway') ) {
#
}
'DBLINKS'
$seq->annotation->get_Annotations('dblink')
'CODON_USAGE'
FIXME, NOT IMPLEMENTED
'AASEQ'
$seq->translate->seq
'NTSEQ'
$seq-E<gt>seq
FEEDBACK
Mailing Lists
User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to one
of the Bioperl mailing lists. Your participation is much appreciated.
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
Support
Please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address
it. Please include a thorough description of the problem with code and data examples if at all possible.
Reporting Bugs
Report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. Bug reports can be submitted via the
web:
https://redmine.open-bio.org/projects/bioperl/
AUTHOR - Allen Day
Email allenday@ucla.edu
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
next_seq
Title : next_seq
Usage : $seq = $stream->next_seq()
Function: returns the next sequence in the stream
Returns : Bio::Seq::RichSeq object
Args :
write_seq
Title : write_seq
Note : write_seq() is not implemented for KEGG format output.
perl v5.14.2 2012-03-02 Bio::SeqIO::kegg(3pm)