From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,b3c354b8b614fc15,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 2001-07-12 05:45:16 PST Return-Path: Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!cola.stump.algebra.com!robomod!not-for-mail X-COLA-Policy: http://stump.algebra.com/~cola X-COLA-Info-1: Send submissions to cola@stump.algebra.com X-COLA-Info-2: Send complaints to cola-admin@stump.algebra.com X-Comment: moderators do not necessarily agree or disagree with this article. X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov) Date: Thu, 12 Jul 2001 07:42:54 CST From: "M. Leo Cooper" X-Sender: thegrendel@localhost Subject: Advanced Bash Scripting Guide Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Newsgroups: comp.os.linux.announce X-Auth: PGPMoose V1.1 PGP comp.os.linux.announce iQBVAwUAO02bTyFvAtx2nXvNAQFeAQH+L6d9BsrfNcdmg7fU2VdAd+sBtnPoLCAz Xx6WARpEKkkL3t0NtEmmNVMSKIaWW1P4H/TkD0ojXJvOdJTHTbsYyQ== =iPWf Xref: archiver1.google.com comp.os.linux.announce:1040 Announcing the release of the "Advanced Bash Scripting" Guide, a comprehensive book covering almost every aspect of writing and understanding shell scripts. This massive e-book contains the equivalent of 300+ print pages. Previously a Linux Documentation Project HOWTO, version 0.4 has been reclassified as a "Guide", a full-fledged book. >>From the Introduction to the book: "This document is both a tutorial and a reference on shell scripting with Bash. It assumes no previous knowledge of scripting or programming, but progresses rapidly toward an intermediate/advanced level of instruction. The exercises and heavily-commented examples invite active reader participation." Partial table of contents: Exit and Exit Status Special characters used in shell scripts Introduction to Variables and Parameters Parameter Substitution Quoting Tests Operations and Related Topics Variables Revisited Loops and Branches Internal Commands and Builtins External Filters, Programs and Commands System and Administrative Commands Command Substitution Arithmetic Expansion I/O Redirection Here Documents Regular Expressions Subshells Restricted Shells Process Substitution Functions Aliases List Constructs Arrays /dev and /proc Of Zeros and Nulls Debugging Options Gotchas Scripting With Style Bibliography -------------------- Appendices: Contributed Scripts A Sed and Awk Micro-Primer Exit Codes With Special Meanings A Detailed Introduction to I/O and I/O Redirection Localization A Sample .bashrc File Converting DOS Batch Files to Shell Scripts The book contains nearly 200 heavily-commented example scripts and a number of tables. This LDP Guide is released under the standard LDP license and terms, which essentially means it is free and freely distributable. Primary site: At the Linux Documentation Project http://linuxdoc.org/LDP/abs/html/index.html for browsing on-line http://linuxdoc.org/LDP/abs/abs-guide.html.tar.gz to download the HTML tarball http://linuxdoc.org/LDP/abs/abs-guide.pdf to download the pdf rendering Secondary site: Sunsite http://www.ibiblio.org/pub/Linux/docs/linux-doc-project/abs/guide/ Download the book in various formats, as above. Tertiary site: The author's site: http://personal.riverusers.com/~thegrendel/abs-HOWTO-0.4.tar.gz [452 k] SGML source and rendered HTML, all in one tarball ########################################################################## # Send submissions for comp.os.linux.announce to: cola@stump.algebra.com # # PLEASE remember a short description of the software and the LOCATION. # # This group is archived at http://stump.algebra.com/~cola/ # ##########################################################################