LEADER 05563nam 22006615 450 001 9910300639503321 005 20230811113054.0 010 $a1-4842-0121-3 024 7 $a10.1007/978-1-4842-0121-3 035 $a(CKB)3710000000433709 035 $a(EBL)2094026 035 $a(SSID)ssj0001525061 035 $a(PQKBManifestationID)11979194 035 $a(PQKBTitleCode)TC0001525061 035 $a(PQKBWorkID)11486464 035 $a(PQKB)10695004 035 $a(DE-He213)978-1-4842-0121-3 035 $a(MiAaPQ)EBC2094026 035 $a(CaSebORM)9781484201213 035 $a(PPN)186394454 035 $a(EXLCZ)993710000000433709 100 $a20150619d2015 u| 0 101 0 $aeng 135 $aur|n|---||||| 181 $ctxt 182 $cc 183 $acr 200 10$aPro bash programming $escripting the GNU/Linux shell /$fby Chris Johnson, Jayant Varma 205 $aSecond edition. 210 1$aBerkeley, CA :$cApress :$cImprint: Apress,$d2015. 215 $a1 online resource (237 p.) 300 $aIncludes index. 311 $a1-4842-0122-1 327 $aContents at a Glance; Chapter 1: Hello, World: Your First Shell Program; The Code; The File; The Naming of Scripts; Selecting a Directory for the Script; Creating the File and Running the Script; Choosing and Using a Text Editor; Building a Better "Hello, World!"; Summary; Commands ; Concepts ; Variables ; Exercises; Chapter 2: Input, Output, and Throughput; Parameter and Variables; Positional Parameters; Special *@#0?_!- Parameters; Variables ; Arguments and Options ; echo, and Why You Should Avoid It; printf: Formatting and Printing Data; Escape Sequences 327 $abreak continue; Summary; Commands; Concepts; Exercises; Chapter 4: Command-Line Parsing and Expansion; Quoting; Brace Expansion; Tilde Expansion; Parameter and Variable Expansion; Arithmetic Expansion; Command Substitution; Word Splitting; Pathname Expansion; Process Substitution; Parsing Options; Summary; Commands; Exercises; Chapter 5: Parameters and Variables; The Naming of Variables; The Scope of a Variable: Can You See It from Here?; Shell Variables; Parameter Expansion; Bourne Shell; {var:-default} and {var-default}: Use Default Values 327 $a{var:+alternate}, {var+alternate}: Use Alternate Values {var:=default}, {var=default}: Assign Default Values ; {var:?message}, {var?message}: Display Error Message If Empty or Unset; POSIX Shell; {#var}: Length of Variable's Contents ; {var%PATTERN}: Remove the Shortest Match from the End; {var%%PATTERN}: Remove the Longest Match from the End; {var#PATTERN}: Remove the Shortest Match from the Beginning; {var##PATTERN}: Remove the Longest Match from the Beginning; Bash; {var//PATTERN/STRING}: Replace All Instances of PATTERN with STRING 327 $a{var:OFFSET:LENGTH}: Return a Substring of var{!var}: Indirect Reference; Bash-4.0; Sec21; {var^PATTERN}: Convert to Uppercase ; {var,PATTERN}: Convert to Lowercase ; Positional Parameters; Arrays; Integer-Indexed Arrays ; Sec27; Displaying Arrays; Assigning Array Elements; Associative Arrays ; Summary; Commands; Concepts; Chapter 6: Shell Functions; Definition Syntax; Compound Commands; Getting Results; Set Different Exit Codes; Print the Result; Place Results in One or More Variables; Function Libraries; Using Functions from Libraries; Sample Script; Summary 327 $aCommands 330 $aPro Bash Programming teaches you how to effectively utilize the Bash shell in your programming. The Bash shell is a complete programming language, not merely a glue to combine external Linux commands. By taking full advantage of Shell internals, Shell programs can perform as snappily as utilities written in C or other compiled languages. And you will see how, without assuming Unix lore, you can write professional Bash 4.3 programs through standard programming techniques. This second edition has updated for Bash 4.3, and many scripts have been rewritten to make them more idiomatically Bash, taking better advantage of features specific to Bash. It is easy to read, understand, and will teach you how to get to grips with Bash programming without drowning you in pages and pages of syntax. Using this book you will be able to use the shell efficiently, make scripts run faster using expansion and external commands, and understand how to overcome many common mistakes that cause scripts to fail. This book is perfect for all beginning Linux and Unix system administrators who want to be in full control of their systems, and really get to grips with Bash programming. 606 $aOpen source software 606 $aComputer programming 606 $aSoftware engineering 606 $aOpen Source$3https://scigraph.springernature.com/ontologies/product-market-codes/I29090 606 $aSoftware Engineering/Programming and Operating Systems$3https://scigraph.springernature.com/ontologies/product-market-codes/I14002 615 0$aOpen source software. 615 0$aComputer programming. 615 0$aSoftware engineering. 615 14$aOpen Source. 615 24$aSoftware Engineering/Programming and Operating Systems. 676 $a004 700 $aJohnson$b Chris$4aut$4http://id.loc.gov/vocabulary/relators/aut$0441401 702 $aVarma$b Jayant$4aut$4http://id.loc.gov/vocabulary/relators/aut 801 0$bUMI 801 1$bUMI 906 $aBOOK 912 $a9910300639503321 996 $aPro bash programming$93418514 997 $aUNINA