Skip to main content

Timeline for ETAOIN SHRDLU golf

Current License: CC BY-SA 3.0

21 events
when toggle format what by license comment
Jun 17, 2020 at 9:04 history edited CommunityBot
Commonmark migration
Oct 24, 2017 at 16:11 comment added Xcali You can cut one more byte by using the -F option instead of -n: Try it online!
Apr 13, 2017 at 12:39 history edited CommunityBot
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Mar 30, 2016 at 1:56 history edited cat CC BY-SA 3.0
added 6 characters in body
Jul 7, 2014 at 15:26 history edited mykhal CC BY-SA 3.0
more clear
Jul 7, 2014 at 10:03 comment added chinese perl goth save two more chars: replace $h{$b}<=>$h{$a} with $h{$b}-$h{$a}
Jul 4, 2014 at 6:53 history edited mykhal CC BY-SA 3.0
fix en grammar
Jul 4, 2014 at 6:10 comment added mykhal Joe: i was talking about the }{ "injection", not just about the well known -n option. One might not expect that the code string actually technically is wrapped by the while loop code string before the execution, not only just that it somehow works like as if it was wrapped..
Jul 4, 2014 at 3:11 comment added Joe McMahon perldoc perlrun has all the magic command-line switches.
Jul 3, 2014 at 22:17 history edited mykhal CC BY-SA 3.0
update - yet shorter - comments
Jul 3, 2014 at 14:49 comment added mykhal Dennis: anyway, it's ingenious hack, i can't see it anywhere in the docs. please let me know if you have some links to discussions on this - it's difficult to search (i wish google could do regexp search)
Jul 3, 2014 at 14:25 comment added Dennis Yes, -n wraps while(<>){...} around the code. I avoid editing other users' code. Too easy to make a mistake, some things only work on some computers, etc.
Jul 3, 2014 at 14:14 comment added mykhal Dennis: OK, now i get it. breaking the imaginary (? probably not so) while loop. amazing
Jul 3, 2014 at 14:02 comment added mykhal Dennis: very interesting, it looks like a typo.. wth is this? i've had some variants using -n and END{}, but they were always longer.. feel free to update the answer, if you want
Jul 3, 2014 at 13:45 comment added Dennis Shorter and no error messages: perl -ne 's/./$h{uc$&}++/eg}{print sort{$h{$b}<=>$h{$a}}A..Z'
Jul 2, 2014 at 13:13 history edited mykhal CC BY-SA 3.0
example usage
Jul 2, 2014 at 11:44 history edited mykhal CC BY-SA 3.0
update alternative count number in the title
Jul 2, 2014 at 11:01 history edited mykhal CC BY-SA 3.0
potential warning
Jul 2, 2014 at 10:44 history edited mykhal CC BY-SA 3.0
syntax lang tag
Jul 2, 2014 at 10:32 history edited mykhal CC BY-SA 3.0
spare another char
Jul 2, 2014 at 10:24 history answered mykhal CC BY-SA 3.0