bash Idioms
Author | : Carl Albing |
Publisher | : "O'Reilly Media, Inc." |
Total Pages | : 161 |
Release | : 2022-03-16 |
ISBN-10 | : 9781492094708 |
ISBN-13 | : 1492094706 |
Rating | : 4/5 (08 Downloads) |
Download or read book bash Idioms written by Carl Albing and published by "O'Reilly Media, Inc.". This book was released on 2022-03-16 with total page 161 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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