To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 2927
    Re: Reasonable assignment for a third grader? —Dan Boger
   (...) I couldn't help it... and it's my first attempt at a one liner :) perl -ne 'BEGIN{for('a'..'z')...f$t==100;' /usr/dict/linux.words comes out with 498 words out of 45402 in the file... pretty fast too :) (23 years ago, 12-Apr-01, to lugnet.off-topic.geek)
   
        Re: Reasonable assignment for a third grader? —John D. Forinash
   (...) Neither could I. This one's on sloaris, and I apologize for my mediocre coding style. It's still much more readable than that perl mess ever hoped to be, but probably took me longer. :) #include <stdio.h> int fd; FILE *fi; char buf[20]; int (...) (23 years ago, 12-Apr-01, to lugnet.off-topic.geek)
   
        Re: Reasonable assignment for a third grader? —Dan Boger
   (...) not going into a holy war, it's a mess cause I Wanted it to be :) the original form was 10 lines, and quite readable :) (...) keyboards kissers - not sure if 'kissers' is a word, but I think 'keyboards' should qualify... :) (23 years ago, 12-Apr-01, to lugnet.off-topic.geek)
   
        Re: Reasonable assignment for a third grader? —John D. Forinash
   (...) This must be proof that linux is better than solaris. There's 20,000 more words in /usr/dict/words on my dedrat 6.x box, and 242 more of them score 100 points. The religous wars can end now. :) Still no x or z. Oddly enough, my dedrat 7.0 box (...) (23 years ago, 12-Apr-01, to lugnet.off-topic.geek)
   
        Re: Reasonable assignment for a third grader? —Larry Pieniazek
   (...) zebrahides at 97 is the closest I came for a Z (...) Well someone mail me the words and I'll have Nik turn them all in along with Dan's perl 1 liner and no other comment.... :-) ++Lar (23 years ago, 12-Apr-01, to lugnet.off-topic.geek)
   
        Re: Reasonable assignment for a third grader? —John D. Forinash
   (...) Done. -JDF (23 years ago, 12-Apr-01, to lugnet.off-topic.geek)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR