Can anyone recommend some good shell programming reference books?

Can anyone recommend some good shell programming reference books?

Post by john eng » Wed, 27 Sep 1995 04:00:00



The title says it all really... I would like references to some good general
shell programming / reference books, to cover skill levels varying from
novice to experienced, for sh and csh. I'm also interested in good books for
specific commands, such as `The Awk Programming Language'.

Thanks for any help.  8^)


 
 
 

Can anyone recommend some good shell programming reference books?

Post by Stephen Ha » Wed, 27 Sep 1995 04:00:00



>...snip.... I'm also interested in good books for
>specific commands, such as `The Awk Programming Language'.

sed & awk
Dale Dougherty
O'Reilly & Associates Inc.
ISBN 0-937175-59-5

Any of the "UNIX Power Tools" books (sic), really. Appart from being
concise, clear and comprehensive, they also have pictures of really
geeky looking animals on the cover - a definate plus as far as I'm
concerned.

Cheers
Stephen

|===========================================|
| This above all: to thine own self be true.|
|===========================================|

 
 
 

Can anyone recommend some good shell programming reference books?

Post by magued e barso » Thu, 28 Sep 1995 04:00:00




>The title says it all really... I would like references to some good general
>shell programming / reference books, to cover skill levels varying from
>novice to experienced, for sh and csh. I'm also interested in good books for
>specific commands, such as `The Awk Programming Language'.

>Thanks for any help.  8^)



man pages are ther best !
man ksh
man sh

magued

 
 
 

Can anyone recommend some good shell programming reference books?

Post by Tad McClell » Fri, 29 Sep 1995 04:00:00


: The title says it all really... I would like references to some good general
: shell programming / reference books, to cover skill levels varying from
: novice to experienced, for sh and csh. I'm also interested in good books for
                                    ^^^
: specific commands, such as `The Awk Programming Language'.

Consider using Perl instead.

"Programming perl" Larry Wall and Randal Schwartz
"Learning Perl"    Randal Schwartz

----------------------------------------------------------
The following periodic article answers in excruciating detail
the frequently asked question "Why shouldn't I program in csh?".
It is available for anon FTP from convex.com in /pub/csh.whynot .
                         ^^^      ^^^^^^^^^^

               *** CSH PROGRAMMING CONSIDERED HARMFUL ***

    Resolved: The csh is a tool utterly inadequate for programming,
              and its use for such purposes should be strictly banned!

I am continually shocked and dismayed to see people write test cases,
install scripts, and other random hackery using the csh.  Lack of
proficiency in the Bourne shell has been known to cause errors in /etc/rc
and .cronrc files, which is a problem, because you *must* write these files
in that language.

The csh is seductive because the conditionals are more C-like, so the path
of least resistance is chosen and a csh script is written.  Sadly, this is
a lost cause, and the programmer seldom even realizes it, even when they
find that many simple things they wish to do range from cumbersome to
impossible in the csh.
...

[lot more... ftp the whole article for more info]

--
  Tad McClellan,      Logistics Specialist (IETMs and SGML guy)

  Money isn't everything ...
  but it's way ahead of whatever's in second place.

 
 
 

Can anyone recommend some good shell programming reference books?

Post by Stuart Hickinbott » Sat, 30 Sep 1995 04:00:00



>The title says it all really... I would like references to some good general
>shell programming / reference books, to cover skill levels varying from
>novice to experienced, for sh and csh. I'm also interested in good books for
>specific commands, such as `The Awk Programming Language'.
>Thanks for any help.  8^)

There is only one Korn Shell book worth a look (IMO):

The Kornshell Command and Programming Language

Morris I.Bolsky, David G.Korn

Prentice Hall

ISBN 0-13-516972-0

--
Stuart

 
 
 

Can anyone recommend some good shell programming reference books?

Post by Heiner Stev » Tue, 10 Oct 1995 04:00:00



 > >The title says it all really... I would like references to
 > >some good general shell programming / reference books, to
 > >cover skill levels varying from novice to experienced, for sh
 > >and csh. I'm also interested in good books for specific
 > >commands, such as `The Awk Programming Language'.

 > There is only one Korn Shell book worth a look (IMO):

 > The Kornshell Command and Programming Language
 > Morris I.Bolsky, David G.Korn
 > Prentice Hall
 > ISBN 0-13-516972-0

Well, IMHO it is a good reference for the ksh language, but it's
not so good to learn the shell language from scratch.

I prefered the following books:

    Rosenblatt, Bill: Learning the Korn Shell.
        O'Reilly & Associates, Inc.; Sebastopol, CA April 1994.

Good introduction. Features the source code of a ksh-de*
(written in ksh, of course).

    Bourne, S.R.: The Unix System.
        Addison-Wesley; London, Reading  1983.

This book (written by the developer of the Bourne-Shell) is a
good introduction to shell programming and Unix in general.

Heiner
--
     -------------------------------------------------------------

   / BinTec Computersysteme GmbH / mine, not BinTec's --       /
  / Willstaetter Str. 30 ------- ...even if they should be ;-)/

------------------------------------------------------------