Quantcast
Channel: 2011 – Michael Tsai
Viewing all articles
Browse latest Browse all 100

Arithmetic Expressions in Shell Scripts

$
0
0

Mark Dominus:

I had assumed that bc was a later development than expr, but it appeared in Unix version 6, while expr did not appear until version 7. So then I thought perhaps expr had been thrown in as a demonstration of yacc, but no, yacc was already present in version 5, and anyway, bc was written with yacc. So I no longer have any workable theory about who perpetrated expr, or why.


Viewing all articles
Browse latest Browse all 100

Trending Articles