📄 change.log
字号:
CHANGE LOG & Release History This file is available on-line at http://personal.riverusers.com/~thegrendel/Change.log ================================================================== Current version = 5.2 http://personal.riverusers.com/~thegrendel/abs-guide-5.2.tar.bz2 http://personal.riverusers.com/~thegrendel/abs-guide.pdf ------------------------------------------------------------------ News: Version 5.2 release. . . . New example scripts. New section on version 3.2 update to Bash. More on !#/bin/env bash. More coherent definition of "recursion." ==================================================================Version 5.2, Silverberry release03/16/081) In the "Starting Off With a Sha-Bang" chapter: Added footnote about "#!/bin/env bash" ... Added footnote about alternate spellings of "sha-bang."2) In "Why Shell Programming?" chapter, Put "When not to use shell scripts" into a sidebar.3) In "Special Characters" chapter: Added short introductory paragraph ("meta-meaning" ... etc.) At "-" entry, added "cat -" inline example. At "--" entry, added tip about removing dash-prefixed file names. At "Ctl-Z" entry, added MS-DOS EOF info. At "pipe" sidebar, added "philtre" footnote. Cleaned up some of the markup.4) In "Internal Commands and Builtins" chapter: At "eval" entry, modified "ex43.sh" example at the suggestion of E. Choroba. (Thanks!)5) In "Basic Commands" section of "External Commands" Chapter: At "rm" entry, reworked note about deleting dash-prefixed filenames.6) In "Introduction to Variables and Parameters" chapter: At "shift entry", added comments to "shift-past.sh" example at the suggestion of Eleni Fragkiadaki (thanks!).7) In "Variable Substitution" section of "Introduction to Variables: At discussion of "variable name," added brief definition of a "pointer" to footnote.8) In "Bash Variables are Untyped" section of "Introduction to Variables" Added reference to "declare / typeset."9) In "Miscellaneous Commands" section of "External Commands" Chapter: Added "xmessage" entry. Added "zenity" entry.10) In "I/O Redirection" chapter: At "Using Exec" section, Added comment to "upperconv.sh" example, noting that 'cat' is unnecessary. (Thank you, Walter Brameld IV!)11) In "Functions" chapter: Rewrote introduction to subsection on recursion by changing a footnote to a sidebar. Also added "recursion-demo.sh" example script. In subsection on recursion without using local variables, added "fibo.sh" example. Added note, per Yan Chen's commentary on redefinition of the same function.12) In "Job Control Commands" section of "Internal Commands and Builtins" chapter: At "wait" entry, added Walter Brameld's explanation of script-in-background hang. (Thanks!)13) In "Operators" subsection of "Operations and Related Topics" chapter: Moved "!" from bitwise to logical operators. Made capitalization of operators more consistent. (Thanks, Sebastian Arming, for bringing these to my attention.)14) In "Time/Date Commands" section of "External Commands" chapter: At "date" entry, added "date-calc.sh" example. (Thank you, Nathan Coulter!)15) In "File and Archiving Commands" section of "External Commands" Chapter: Added "lzma" entry.16) "System and Administrative Commands" chapter: At "lockfile" entry, added footnote defining "semaphore." Reworked "env" entry.17) In "Contributed Scripts" appendix: Added "homework.sh" example. Added Patsie's "tree2.sh" example.18) In the "Sed and Awk Micro-primer" appendix: In "Awk" section, added example of "$0" (field #0).19) In "Bash, versions 2 and 3" chapter: Fixed a typo in first paragraph ("number of bug" -> "number of bugs"). Added cautionary note about =~ regex match operator incompatibilities in version 3.2 update of Bash. (Thanks, Chris Bainbridge, for the heads up!) Added Bash, version 3.2 subsection.20) In "Assorted Tips" section of "Miscellany" chapter: At "Passing an array to a function" entry, fixed typo: "bag of trick" --> "bag of tricks" Created a new sub-subsection for the topic of widgets. Added 'xmessage' and 'zenity' commands, with in-line examples.21) In "Parameter Substitution" section of "Variables Revisited" chapter: Fixed two typos (missing left curly bracket). (Thank you, Jean-Michel Vallat, for pointing this out.)22) In "Typing Variables" section of "Variables Revisited" chapter: Added footnote defining "typing."23) In "Optimizations" section of "Miscellany" chapter: Added footnote about using functions.24) In "Bibliography" section: Minor rewrites and updates of entries. Updated a few stale URLs.25) In "ASCII Table" appendix: Replaced "ascii.c" with "ascii.sh" script contributed by Sebastian Arming. (Thanks!)26) In "Writing Scripts" section of "Exercises" appendix: Revised "safe delete" exercise.27) In" DOS Batch Files" appendix: Added footnote about rewriting the example batch file.28) More cleanups/fixups/additions to Index.29) More cleanups/fixups to main text, appendices, and examples where appropriate.Version 5.1, Lingonberry release11/10/07(The usual fixups after a .0 release ...)1) In "Special Characters" chapter: At "-" (dash) entry, added default parameter (parameter substitution). At "+" (plus) entry, added alternate parameter (parameter substitution). At "," (comma) entry, added footnote defining "operator." Added "Ctl-Y" entry. (Thank you, Stuart J. Browne!)2) In "Complex Commands" section of "External Commands" Chapter: At "xargs" entry: Added another example of "xargs -0" usage. Added note about sequential processing of arguments passed.3) In "File and Archive Commands" section of "External Commands" Chapter: At "tar" entry, added "--after-date" option.4) In "Manipulating Strings" section of "Variables Revisited" chapter: At "${string:position:length}" entry, added "rand-string.sh" example script.5) In "File and Archiving Commands" section of "External Commands" Chapter: At "sum/cksum/md5sum/sha1sum" entry, added note about enhanced "sha1sum" commands. At "csplit" entry, added "splitcopy.sh" example.6) In "Internal Commands and Builtins" chapter: At "eval" entry, added E. Choroba's in-line example (Thanks!)7) In "/proc" section of "/dev and /proc" chapter: Output fixup for "get-commandline.sh" inline example. (Thank you, Han Holl!)8) In "Arrays" chapter: Added "ex68a.sh" example, Jared Martin's improved version of "ex68.sh" ...9) "System and Administrative Commands" chapter: Added "mkisofs" entry.10) In "Miscellany" chapter: Added much-needed "Operator Precedence" section, with *table* and examples.11) In "Miscellaneous Commands" section of "External Commands" chapter: At "jot" entry, added additional material (including random sequence output).12) In "Subshells" chapter: Enhanced "subshell.sh" example to show that changes to a global variable inside a subshell do not affect its value outside the subshell.13) In "$RANDOM" section of "Variables Revisited" chapter: Added "brownian.sh" example.14) In the "Regular Expressions" chapter, Added footnote defining "meta-meaning."15) In "Assorted Tips" section of "Miscellany" chapter: Added entry showing how to access a variable in a subshell _outside_ the subshell.16) In" DOS Batch Files" appendix: corrected Ted Davis URL (Thank you, Rik Kabel!)17) In "Bibliography" section: Fixed URL on "Ted Davis' Shell Scripts on the PC" site. (Thanks, Rik Kabel!)18) In "Mirror Sites" appendix: Removed dead link to Sunsite (ibiblio.org). Apparently they no longer mirror the ABS Guide.19) In "Revision History" appendix: Added a copy on an e-mail shortly after release of version 0.1 of the ABS Guide.20) In "Copyright" appendix: Liberalized the license terms to *permit* modified or derivative versions of the book.21) Changed "Sony Librie" references to include the newer Sony PRS-500/505 device.22) More cleanups/fixups/additions to Index.23) More cleanups/fixups to main text and examples where appropriate.Version 5.0, Serviceberry release06/24/071) In "Special Characters" chapter: Added note to "ex8.sh" example script at the suggestion of Hans-Joerg Diers. (Thanks!) At "-" entry, added xref to example for "--" option flag. At "-" entry, added discussion of end-of-options for a builtin for the "--" flag. (Thank you again, Hans-Joerg Diers.)2) In "File and Archiving Commands" section of "External Commands" Chapter: Expanded "make" entry.3) In "Text Processing" section of "External Commands" Chapter: At "grep" entry, added "from.sh" example.4) In "Process Substitution" chapter: New introduction. Changed "Command substitution template" heading to corrected "Process substitution template."5) In "I/O" Redirection chapter: Broke up large usage example at beginning of chapter into separate parts. Much more useful to link to this way.6) "System and Administrative Commands" chapter: At "newgrp" entry, added Kurt Glaesemann's note.7) In "Arrays" chapter: Changed "array operations on variables" note to a sidebar.8) In "Loops and Branches" chapter: More explanation of omitting test brackets in "while" loop. More material on "while-read" construct. Added Shakespeare epigraph.9) In "Parameter Substitution" section of "Variables Revisited" chapter: Clarified substring removal operations.10) In "/dev" section of "/dev and /proc" chapter: Moved "socket" definition from a footnote to a sidebar.11) In "Endnotes" Chapter: Added "Disclaimer" section.12) In "Bibliography" section: Added entry for Tim Waugh's "xmlto" Bash script.13) In "Copyright" appendix: Added anti-lawsuit waiver. Minor fixups and additions.14) In "Important Files" appendix, Added /etc/sysconfig/hwconf entry.15) In "Contributed Scripts" appendix: Added JuanJo Ciarlante's "insertion-sort.bash" example (thanks!).16) In "Reference Cards" appendix: Added entries to "Miscellaneous Constructs" table (at Double Parentheses).17) Added "ASCII Table" appendix.18) Added cross-linked index/glossary. Much needed!19) Fixed URL for pdf version of document at mirror site.20) Reformatted many of the epigraphs (quotations) for improved appearance.21) Minor text and script cleanups, as appropriate.Version 4.3, Inkberry release04/29/071) In "Special Characters" chapter: At "| / pipes" entry, added UNIX FAQ note in sidebar. (Thank you, Nick Battle, for doing the research on this.) At "ctl-H" entry, added commentary, per Constantin Hagemeier's suggestions.2) In "I/O" Redirection chapter: In introductory in-line example, Added note that "&>>filename" fails. (Thank you, David Perlman.) In "Applications" section, Fixed up formatting/comments of "logevents.sh" example script.3) Indented some of the case statment conditions in text for better readability.4) In "Arrays" chapter: Fixed erroneous comment in "array-assign.bash" example script. (Thank you, Manfred Schwarb, for pointing this out.)5) In "Internal Commands and Builtins" chapter: At "read" entry, added a section to the "read-novar.sh" example script. Clarified user instructions in "read-r.sh" example script. (Thank you, Paul O'Malley.) At "export" entry, added general definition of the term "export" in a footnote.6) In "Variable Substitution" section of "Introduction to Variables and Parameters" chapter: Added footnote about "rvalue" and "lvalue."7) In "Internal Variables" section of "Variables Revisited" chapter: At "$IFS" entry, revised first set of usage examples at the suggestion of Christian Laubscher. (Thanks!) Modified "$GROUPS" entry at the suggestion of Dan Stromberg. (Thanks!)8) In "Loops and Branches" chapter: Added a paragraph at end of chapter on which type of loop to use. Modified "ex24.sh" script for better functionality. In "Loop Control" section of "Loops and Branches" chapter: Added James "Mike" Conley's fix of Jean Helou's code. (Thanks!)9) In "Complex Commands" section of "External Commands" Chapter: At "find" entry, slight revision to "ex57.sh" example script. (Thanks, Robbie Morrison.)10) In "File and Archiving Commands" section of "External Commands" Chapter: Added note for clarification to "ex48.sh" example. (Thanks, Evan.)11) In "Text Processing" section of "External Commands" Chapter: At "grep" entry, added "--color" and "-o" options discussion.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -