News for hackers. Stuff that matters.
Re:Git Source Code Review by pjc50 on Sunday March 30, 2014 @06:36PM (#7498281)
Power is ill-defined and not related to popularity, which is in turn only lightly linked to market value.

(Arguably the most powerful language by weight is APL, which has a tiny but dedicated community)

Shell is very good at a narrow range of tasks involving text and file manipulation, but a couple of crippling limitations: whitespace in filenames (especially, god help you, newlines) destroys many casually written scripts, and the only structure really supported by the shell utils is newline-delimited.

Re:Git Source Code Review by yp_maplist on Friday April 11, 2014 @09:41PM (#7576577)
I love APL!

I am a student of k and now q.

The biggest problem of the shell is the rules around quoting. That includes whitespace but also many other snafus.

As for all the utilities being geared toward line-by-line (newline delimited), this is true.

But quoting can be learnt with practice; I rarely have problems because it is second nature.

And, there's a shell utility called lex. It lets you design your own utilities (filters).

And you can create filters that read multiple lines, easy as pie. (Easier than mastering awk.)

You can even create your own programming language by combining lex with another standard utility: yacc. This is how C was created.

Do they still force CS students to learn about these utilities?