Franklin

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

Author/Creator:
Robbins, Arnold.
Edition:
1st edition
Publication:
Sebastopol, California : O'Reilly, 2005.
Format/Description:
Book
1 online resource (560 p.)
Subjects:
UNIX (Computer file)
Operating systems (Computers)
Programming languages (Electronic computers)
Form/Genre:
Electronic books.
Language:
English
System Details:
text file
Summary:
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
Contents:
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
2.5.5.2. 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; 3.2.2.2. Backreferences; 3.2.2.3. Matching multiple characters with one expression; 3.2.2.4. Anchoring text matches; 3.2.2.5. BRE operator precedence; 3.2.3. Extended Regular Expressions; 3.2.3.2. Backreferences don&t exist; 3.2.3.3. Matching multiple regular expressions with one expression
3.2.3.4. Alternation3.2.3.5. Grouping; 3.2.3.6. Anchoring text matches; 3.2.3.7. 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; 3.3.4.2. Fields; 3.3.4.3. Setting the field separators; 3.3.4.4. Printing lines
3.3.4.5. 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; 6.1.2.2. Positional parameters; 6.1.2.3. 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
Notes:
Description based upon print version of record.
Includes bibliographical references (pages 478-483) and index.
Description based on print version record.
Contributor:
Beebe, Nelson H. F.
ISBN:
0-596-51744-0
0-596-55526-1
OCLC:
609840829
Loading...
Location Notes Your Loan Policy
Description Status Barcode Your Loan Policy