Add to Technorati Favorites
Welcome to ThePowerShellGuy.com Sign in | Join | Help

Scripting Games 2008 event answer statistics

Only 2 one-liners this year, against 8 in 2006 ;-)

Here are the other statistics for the answers I did send in this year :

PoSH> ls ev*.ps1   |% {$n= $_.name; gc $_ | Measure-Object -l -w -c | select {$n},*  } | sort Characters | ft           
                                                                                                                        
$n                                        Lines                   Words              Characters Property                
--                                        -----                   -----              ---------- --------                
event6.ps1                                    1                       8                      58                         
event9.ps1                                    1                      11                      86                         
event4_short.ps1                             10                      28                     250                         
event_short.ps1                              10                      45                     284                         
event7.ps1                                    4                      50                     323                         
event2.ps1                                    4                      43                     381                         
event4.ps1                                   11                      53                     391                         
event3.ps1                                    9                      61                     404                         
event1.ps1                                   15                      67                     494                         
Event8.ps1                                   11                      61                     543                         
Event5.ps1                                   24                     226                    1795                         
event10.ps1                                 118                     565                    4142                         
                                                                                                                        
                                                                                                                        
PoSH>                                                                                   

( event 4 short I optimized obfuscated after a comment from  Chris Warwick that his one was smaller  ;-) ) 

Enjoy,

Greetings /\/\o\/\/

Published Sunday, February 17, 2008 6:08 PM by MoW

Comments

# re: Scripting Games 2008 event answer statistics

Event1.ps1    21    81        416 *

Event2.ps1     9    57        290 *

Event3.ps1    18    96        429

Event4.ps1    16    27        323

Event6.ps1     3     3         73

Event8.ps1     8    28        327 *

Event9.ps1     2     5         82 *

Too bad there isn't a Shortest Script category.

Tuesday, February 19, 2008 6:24 AM by Kiron

# re: Scripting Games 2008 event answer statistics

I'm having a go in the powershell division this year (trying to learn as I go). I'd noticed that you write quite short versions so I was tempted in Event 3 to make it as short as possible (but not very readible!)

Mine weighs in at 379 Characters (not bad for a powershell noob!) - any advance on that?

Saturday, February 23, 2008 3:41 AM by Antony Smoothey

# 2008 Winter Scripting Games: Recap

Tuesday, March 04, 2008 12:13 AM by Peter Seale's weblog
Anonymous comments are disabled