Advanced Bash−Scripting Guide 3.2推出

    2月6日更新到3.2版,3.1版在春节前打印出来,还刚看了1/4呢就更新了,作者真是勤快啊。
    主要改变如下:
 
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 Sha-Bang" chapter:
   Amended footnote [3] to mention a cat / here document.
   (Thank you, Fabian Kreutz.)
   Fixed typo in "ex1a.sh" example.
   (Thank you, Preetam.)

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 Fessenden.)




Version 3.2
Blueberry release, 02/06/05

1) In the "Starting Off With a Sha-Bang" 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 confusion
   about 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 Parentheses Construct" section of "Variables Revisited"
    chapter:
    In "c-vars.sh" example, added instances of differing side-effects
    of pre- and post-increment 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 "Miscellany" 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 pseudorandomness.
    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 "Intermediate" 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 <monster@monstruum.co.uk>.)

22) In "Localization" appendix:
    Again, fixed quoting problem in "localized.sh" in-line example
    (per Bruno Haible).

23) In "Important System Directories" appendix:
    Corrected "/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.
    (Thanks, Kalin Kozhuharov and others.)



总体来看主要是修正了一些错误,没有结构和内容上的大改变。平时用Bash的朋友可以多翻翻,里面的例子也比较经典,呵呵。我个人比较喜欢PDF格式,下载地址如下:http://www.tldp.org/LDP/abs/abs-guide.pdf
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值