Classic shell scripting / Arnold Robbins and Nelson H. F. Beebe.

Robbins, Arnold.
1st edition
Sebastopol, California : O'Reilly, 2005.
1 online resource (560 p.)
UNIX (Computer file)
Operating systems (Computers)
Programming languages (Electronic computers)
Electronic books.
System Details:
text file
Shell scripting skills never go out of style. It's the shell that unlocks the real potential of Unix. Shell scripting is essential for Unix users and system administrators-a way to quickly harness and customize the full power of any Unix system. With shell scripts, you can combine the fundamental Unix text and file processing commands to crunch data and automate repetitive tasks. But beneath this simple promise lies a treacherous ocean of variations in Unix commands and standards. Classic Shell Scripting is written to help you reliably navigate these tricky waters. Writi
Classic Shell Scripting; Preface; What You Should Already Know; Chapter Summary; Conventions Used in This Book; Code Examples; Unix Tools for Windows Systems; DJGPP; MKS Toolkit; AT&T UWIN; Safari Enabled; We&d Like to Hear from You; Acknowledgments; 1. Background; 1.2. Software Tools Principles; 1.3. Summary; 2. Getting Started; 2.2. Why Use a Shell Script?; 2.3. A Simple Script; 2.4. Self-Contained Scripts: The #! First Line; 2.5. Basic Shell Constructs; 2.5.2. Variables; 2.5.3. Simple Output with echo; 2.5.4. Fancier Output with printf; 2.5.5. Basic I/O Redirection Special files: /dev/null and /dev/tty2.5.6. Basic Command Searching; 2.6. Accessing Shell Script Arguments; 2.7. Simple Execution Tracing; 2.8. Internationalization and Localization; 2.9. Summary; 3. Searching and Substitutions; 3.2. Regular Expressions; 3.2.2. Basic Regular Expressions; Backreferences; Matching multiple characters with one expression; Anchoring text matches; BRE operator precedence; 3.2.3. Extended Regular Expressions; Backreferences don&t exist; Matching multiple regular expressions with one expression Alternation3.2.3.5. Grouping; Anchoring text matches; ERE operator precedence; 3.2.4. Regular Expression Extensions; 3.2.5. Which Programs Use Which Regular Expressions?; 3.2.6. Making Substitutions in Text Files; 3.2.7. Basic Usage; 3.2.8. sed Operation; 3.2.9. Matching Specific Lines; 3.2.10. How Much Text Gets Changed?; 3.2.11. Lines Versus Strings; 3.3. Working with Fields; 3.3.2. Selecting Fields with cut; 3.3.3. Joining Fields with join; 3.3.4. Rearranging Fields with awk; Fields; Setting the field separators; Printing lines Startup and cleanup actions3.4. Summary; 4. Text Processing Tools; 4.1.2. Sorting by Fields; 4.1.3. Sorting Text Blocks; 4.1.4. Sort Efficiency; 4.1.5. Sort Stability; 4.1.6. Sort Wrap-Up; 4.2. Removing Duplicates; 4.3. Reformatting Paragraphs; 4.4. Counting Lines, Words, and Characters; 4.5. Printing; 4.5.2. Other Printing Software; 4.6. Extracting the First and Last Lines; 4.7. Summary; 5. Pipelines Can Do Amazing Things; 5.2. Structured Data for the Web; 5.3. Cheating at Word Puzzles; 5.4. Word Lists; 5.5. Tag Lists; 5.6. Summary
6. Variables, Making Decisions, and Repeating Actions6.1.2. Parameter Expansion; Positional parameters; Special variables; 6.1.3. Arithmetic Expansion; 6.2. Exit Statuses; 6.2.2. if-elif-else-fi; 6.2.3. Logical NOT, AND, and OR; 6.2.4. The test Command; 6.3. The case Statement; 6.4. Looping; 6.4.2. while and until Loops; 6.4.3. break and continue; 6.4.4. shift and Option Processing; 6.5. Functions; 6.6. Summary; 7. Input and Output, Files, and Command Evaluation; 7.2. Reading Lines with read; 7.3. More About Redirections; 7.3.2. File Descriptor Manipulation
7.4. The Full Story on printf
Description based upon print version of record.
Includes bibliographical references (pages 478-483) and index.
Description based on print version record.
Beebe, Nelson H. F.
Location Notes Your Loan Policy
Description Status Barcode Your Loan Policy