It's an illness.  Saves 4 more characters ...

cat<<<"$(seq 1 100)"|perl -pe
'$_=$_%15==0?"FizzBuzz\n":$_%5==0?"Buzz\n":$_%3==0?"Fizz\n":$_'
-- 
Alan Young
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to