3 ms·
Reading this thread and the discussion of the pros and cons of the shell, reminded me of this: The Bentley-Knuth problem and solutions: https://jugad2.blogspo
by vram22 10y ago
Reading this thread and the discussion of the pros and cons of the shell, reminded me of this:
The Bentley-Knuth problem and solutions:
https://jugad2.blogspot.in/2012/07/the-bentley-knuth-problem-and-solutions.html https://jugad2.blogspot.in/2012/07/the-bentley-knuth-problem...
It is about an interesting programming problem to do with text processing - involving finding word frequencies (apparently initially posed by Jon Bentley to Donald Knuth).
The above post (on my blog) has two solutions by me, in Python and shell, and links to the original discussion on another blog, where I first read about the problem - which was an interesting read, with many comments:
More shell, less egg:
http://www.leancrew.com/all-this/2011/12/more-shell-less-egg/ http://www.leancrew.com/all-this/2011/12/more-shell-less-egg...