Advanced Bash-scripting guide 3.2 launched

xiaoxiao2021-03-06  40

Updated to version 3.2 on February 6, 3.1 was printed before the Spring Festival, just saw 1/4, it's new, the author is really diligent.

The main changes are as follows:

Change log

&

Release History

This File is Available On-line AT

Http://personal.riverusers.com/ ~thegrendel/change.log

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

Intermediate Update

Working Toward Version 3.3 Blaeberry RELEASE

1) in The "Starting Off with a shape" chapter:

Amended Footnote [3] to Mention a cat / here document.

Thank you, Fabian Kreutz.)

Fixed Typo in "ex 14a.sh" example.

(Thank you, pretam.)

2) In "File and Archiving Commands" section of "External Commands" Chapter:

Added "rpm -qf" TIP AT "rpm" entry.

3) In "Job Control Commands" Section of "Internal Commands and Builtins"

Chapter:

Corrected Note Discussing Zombie Processes.

Thank you, Alan Sundell.)

4) in "Contributed Scripts" appendix:

Fixups to "wgetter2.bash" script.

Added "BashPodder.sh" script.

Thank you, linc feessenden.

Version 3.2

Blueberry Release, 02/06/05

1) in The "Starting Off with a shape" chapter:

Fixed Small Typo (if [$ # -ne $ number_of_expected args]).

THANKS, Robbie Morrison.

Added Epigraph to "why shell programming?" Section.

2) in "Special Characters" Chapter:

AT "&" Entry, Added Comment About Nasimuddin Ansari's Suggested Change

To "background-loop.sh" example.

3) in "Colorizing Scripts" Section of "Miscellany" Chapter:

Added Link to Henry / TeiKedvl's Utility for Creating Colorized Scripts.

4) in "Complex Functions and Function Complexities" Chapter:

Added "Func-cmdlinearg.sh" Example Script to Clear Up ConfusionAbout Command-Line Args Passed to A Script.

5) in "Local Variables" section of "functions" chapter:

Fixed Typo in Example in Footnote.

Thank you, jaka kranjc.

6) In "File and Archiving Commands" section of "External Commands" Chapter:

AT "files" entry, added example of finding specific File Types

In a Given Directory.

7) in "Communications Commands" section of "External Commands" Chapter:

AT "ssh" entry, added caution about ssh using up loop's stdin.

Thanks, Jason Bechtel.)

8) in "Special Variable Types" section of "Introduction to Variables" Chapter

Some fixups for "ex18.sh" eXample.

Added Chris Monson's Example of Finding Last Command Line Parameter.

9) in "Parameter Substitution" section of "Variables Revisited" Chapter:

Added Material to "Param-sub.sh" Example.

10) In "Double Parenthess Construct" section of "Variables Revisited"

Chapter:

IN "c-vars.sh" example, added instances of differing Side-Effects

Of pre- and post-inccess Operators.

Thanks, Jeroen Domburg.

11) in "Indirect References To Variables" Section of "Variables Revisited"

Chapter:

Added Nils Radtke's Example of Building Dynamic Variable Names.

12) in "Text processing" section of "external commands" chapter:

Added Extra Explanatory Lines at "grep" listing.

Moved "ManView.sh" Script Example from Contributed Script Appendix

To "groff, tbl, eqn" entry.

13) In The "shell wrappers" section of "missllany" chapter:

Added Redirection Comment to "ex3.sh" example. (Thanks, jaka kranjc.)

14) in "Regular Expressions" Chapter:

Added Listing of Components of Res.

Streamlined The Discussion Following.

15) In "$ Random" section of "Variables Revisited" Chapter:

Added Footnote About Randomness and PseudoAndomness.

Added a couple of cross-links in the text.

16) In "System and Administrative Commands" Chapter:

Added Usage EXAMPLE AT "Last" entry.

17) in "/ dev" section of "/ dev and / proc" Chapter:

Changed Reference Url from Slashdot.org to Net.cn (a KNown SPAM ISP).

Added to Footnote About Mounting a USB Flash Drive.

18) in "Gotchas" Chapter:

Added Note About Not Hyphenating Function Names.

19) in "Bibliography" Section:

Added William Parks' DEC. '04 "Linux Gazette" Article to His Listing.

Added Entry for "UNIX OneLiners."

Added "http://www.zazzybob.com" entry.

20) In "Writing Scripts" section of "Exercises" appendix:

IN "interface" section, added "integer or string" exercise.

IN "intermediate" section, added "logged in user information"

EXERCISE.

21) in "Contributed Scripts" Appendix:

Added "CDLL" Expanded 'CD' Command.

(Thanks, Phil Braham.)

Added "Wgetter2.bash" Example Script.

Thanks, Little Monster .

22) in "localization" appendix:

Again, Fixed Quoting Problem in "Localized.sh" in-line Example

Per Bruno Haible.

23) In "Important System Director" APPPENDIX:

Corred "/ sys" entry.

Added "/ MNT," / dev, "" / proc, "and" / media "entries.24) in" Analyzing scripts "section of" Exercises "appendix:

Added Short Example Script.

25) Added Comment Block to Sample .Bashrc File (Appendix G).

(Thanks, Ane-Pieter Wieringa.)

26) DELETED Unwanted Space in ": << xxx" Here Document Comments in Various

Scripts and text body.

27) Various Miscellaneous Fixups in Example Scripts.

Overall, it is mainly to correct some errors, no major changes in structure and content. Usually, use BASH friends to flip over, the examples are more classic, huh, huh. I personally prefer PDF format, download the address as follows: http://www.tldp.org/ldp/abs/abs-guide.pdf.

转载请注明原文地址:https://www.9cbs.com/read-55963.html

New Post(0)