
As an Amazon Associate and affiliate partner, Menrva Books earns from qualifying purchases. Learn more
Shell scripts are everywhere, especially those written in bash-compatible syntax. But these scripts can be complex and obscure. Complexity is the enemy of security, but it's also the enemy of readability and understanding. With this practical book, you'll learn how to decipher old bash code and write new code that's as clear and readable as possible. Authors Carl Albing and JP Vossen show you how to use the power and flexibility of the shell to your advantage. You may know enough bash to get by, but this book will take your skills from manageable to magnificent. Whether you use Linux, Unix, Windows, or a Mac, you'll learn how to read and write scripts like an expert. Your future you will thank you. You'll explore the clear idioms to use and obscure ones to avoid, so that you can: Write useful, flexible, and readable bash code with style Decode bash code such as ${MAKEMELC,,} and ${PATHNAME##*/} Save time and ensure consistency when automating tasks Discover how bash idioms can make your code clean and concise
This book teaches how to write and decipher complex shell scripts by focusing on clear, idiomatic bash syntax. Authors Carl Albing and JP Vossen aim to transform users' bash skills from merely functional to expert-level, emphasizing readability and efficiency. The text guides readers through understanding obscure bash code snippets and applying best practices for automation across various operating systems like Linux, Unix, Windows, and macOS.
The book is presented as a practical guide for developers seeking to improve their shell scripting abilities. It focuses on the practical application of bash idioms to enhance code clarity, security, and efficiency. The material suggests it is aimed at users who have a foundational understanding of bash but wish to elevate their skills to an expert level, promising that future efforts will be made easier by mastering these techniques.
Page Count:
170
Publication Date:
2022-03-16
Publisher:
"O'Reilly Media, Inc."
ISBN-10:
1492094722
ISBN-13:
9781492094722
No comments yet. Be the first to share your thoughts!