Sponsored Content
Full Discussion: Lottery result checker
Top Forums Shell Programming and Scripting Lottery result checker Post 303010955 by PuLPi on Wednesday 10th of January 2018 07:41:46 PM
Old 01-10-2018
Thanks rdrtx1! This is pretty amazing!

If i get the point this script checks the placement of the number, right?

So if i have only one number on the right place it says 'lose' with one match.

Like here:

Code:
Winning Numbers          	My Numbers               	#s Matched	Result    
8 11 12 19 31 34 35      	6 7 8 10 16 27 30        	0         	lose      
8 11 12 19 31 34 35      	7 8 11 12 19 31 35       	1         	lose

But basically i've matched 6
 

9 More Discussions You Might Find Interesting

1. Programming

Proxy Checker in C

Hello Everyone Im planning to make a C program to check a proxy server if it is working or bot, test the proxy speed ,response time , as well as a proxy type. i'm learning using libcurl right now to fetch http headers. do you guys have some links about how to check proxy headers?. Thank you. ... (0 Replies)
Discussion started by: magictalong
0 Replies

2. Shell Programming and Scripting

Outputting formatted Result log file from old 30000 lines result log<help required>

Well I have a 3000 lines result log file that contains all the machine data when it does the testing... It has 3 different section that i am intrsted in 1) starting with "20071126 11:11:11 Machine Header 1" 1000 lines... "End machine header 1" 2) starting with "20071126 12:12:12 Machine... (5 Replies)
Discussion started by: vikas.iet
5 Replies

3. UNIX for Dummies Questions & Answers

display the result of wc -l with words before and after the result

hello showrev -p | wc -l returns: 381 What to do in case I want to have this output: number of lines returned by showrev -p is: 381 thx (3 Replies)
Discussion started by: melanie_pfefer
3 Replies

4. Shell Programming and Scripting

Date format checker

Hi I want the user to enter a date in the format 16-APR-2000 . I need to put validations for that in my script .. Please help Thanks and Regards Ultimatix (1 Reply)
Discussion started by: ultimatix
1 Replies

5. What is on Your Mind?

This Weeks Lottery - Jackpot Now 219,500 Bits

If you want to win some Bits, the jackpot for tomorrow's drawing is up to 219,500 Bits Lottery tickets are only 100 Bits :D (0 Replies)
Discussion started by: Neo
0 Replies

6. Homework & Coursework Questions

spell checker script

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: When "niuspell" is invoked from the command line it reads "file" and checks it for spelling of the words it... (1 Reply)
Discussion started by: Jeffthrow5
1 Replies

7. Debian

Getting a better spell checker

Guys I am new to Linux in general and want to know what is the use of the following files-: /usr/share/dict/words /usr/share/dict/words.pre-dictionaries-common Are they used by the spell checker to find potential typos ? If so are there any better larger word lists out there ? I am sure... (2 Replies)
Discussion started by: sreyan32
2 Replies

8. Shell Programming and Scripting

How to compare the current result with previous line result.?

Hi Gurus, I have requirement to compare current result with previous reuslt. The sample case is below. 1 job1 1 1 job2 2 1 job3 3 2 job_a1 1 2 job_a2 2 2 job_a3 3 3 job_b1 1 3 job_b2 2 for above sample file, GID is group ID, for input line, the job run... (1 Reply)
Discussion started by: ken6503
1 Replies

9. Shell Programming and Scripting

Lottery number checker

hi , Let me put it in a different way with words. Assume the lottery have numbers from 1-50. Out of this 50 numbers, I am going to pick up only 35 numbers randomly. so, my total numbers would be 35 numbers shuffled from nos. I have list of winning numbers in file. Now, the... (9 Replies)
Discussion started by: gsiva
9 Replies
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)
All times are GMT -4. The time now is 06:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy