Is your PaaS composable or contextual?
gigaom.com
gigaom.com
tr -cs A-Za-z '\n' |
tr A-Z a-z |
sort |
uniq -c |
sort -rn |
sed ${1}q
That is neither simple nor easily learned.However, for anyone with the ability to learn a technical command line operation, the thinking goes like this: first i want to convert the output into another format, then another format, then sort it, find a count of the uniques... and so on. It reads very easy because each tool is doing one thing in the chain.
The only difficulty, in learning shell scripting well enough to trivially whip up things like the above for problems (like this one) that it fits well, is in becoming aware of the existence of utilities that may do what you want. The apropos command can help quite a bit, but it can sometimes be hard to come up with a word to search for, for sure - I recall once having quite some trouble finding "column", even knowing of its existence. But that's more the exception than the rule, and one can often find ways of pressing utilities one knows well into service in a pinch.