bash Idioms: Write Powerful, Flexible, Readable Shell Scripts
Author: Carl Albing and JP Vossen
Publisher finelybook 出版社: O’Reilly Media; 1st edition (May 17, 2022)
Language 语言: English
Print Length 页数: 200 pages
ISBN-10: 1492094757
ISBN-13: 9781492094753
Book Description
Shell scripts are everywhere, especially those written in bash compatible syntax, and it’s extremely useful to be able to understand and write them, but they 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. Your future you will thank you.
Authors Carl Albing and JP Vossen show you how to use the power and flexibility of the shell to your advantage. You’ll learn how to read and write scripts like an expert, 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
Amaze and impress colleagues with bash idioms
Discover how bash idioms can make your code clean and concise