_The UNIX Programming Environment_ was one of the books I used to learn how to make use of UNIX in the late 80s and 90s. The chapter on program development is an amazing example of technical writing. In the space of one not-too-long chapter Kernighan and Pike start with a simple program to implement a four function calculator, introduce lex and yacc, move through a series of increasing complex programs culminating with a small programming language. Along the way they work in the use of make to manage building the programs. Great memories.<br>
<br>Steve<br><br><div class="gmail_quote">On Tue, Aug 30, 2011 at 10:47 AM, <span dir="ltr"><<a href="mailto:jep200404@columbus.rr.com">jep200404@columbus.rr.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, 29 Aug 2011 12:51:39 -0400, Stephen Potter <<a href="mailto:spp@unixsa.net">spp@unixsa.net</a>> wrote:<br>
<br>
> ... for CLI usage, how often do you really do more than two commands?<br>
<br>
As you have heard from several posters: often.<br>
<br>
We are following the UNIX philosophy. Instead of having one big<br>
program to do everything, we have many small programs. Each<br>
little program does one thing well. The power comes from how we<br>
combine the little programs to do complex things. The pipe is an<br>
important part of how we combine them.<br>
<br>
A classic book about doing this is:<br>
<br>
The UNIX Programming Environment<br>
by Kernighan and Pike[2]<br>
<br>
A good book about the UNIX philosophy is:<br>
<br>
The UNIX Philosophy<br>
by Mike Gancarz[1]<br>
<br>
Both are good reads. The first book will make you powerful.<br>
<br>
[1] <a href="https://secure.wikimedia.org/wikipedia/en/wiki/Unix_philosophy#Mike_Gancarz:_The_UNIX_Philosophy" target="_blank">https://secure.wikimedia.org/wikipedia/en/wiki/Unix_philosophy#Mike_Gancarz:_The_UNIX_Philosophy</a><br>
[2] <a href="https://secure.wikimedia.org/wikipedia/en/wiki/The_UNIX_Programming_Environment" target="_blank">https://secure.wikimedia.org/wikipedia/en/wiki/The_UNIX_Programming_Environment</a><br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
colug-432 mailing list<br>
<a href="mailto:colug-432@colug.net">colug-432@colug.net</a><br>
<a href="http://lists.colug.net/mailman/listinfo/colug-432" target="_blank">http://lists.colug.net/mailman/listinfo/colug-432</a><br>
</div></div></blockquote></div><br>