bash Idioms
Write Powerful, Flexible, Readable Shell Scripts

EPUB · English
Price and availability
EPUB eBookUS store
$55.99
Sign in to buyYou’ll review your order and final price before payment.
Download from your library after delivery. Protected eBooks need a compatible reading app.
For personal use under the eBook licence.
Territorial availability
Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa
Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.
- Format
- EPUB
- DRM
- Not stated by the publisher
- Language
- English
- Publisher
- O'Reilly Media
- Published
- 16 March 2022
- ISBN
- 9781492094708
- Subjects
- Linux, UNIX, Programming & scripting languages: general, ULJ, ULJL, Programming and scripting languages: general
About this book
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 styleDecode bash code such as ${MAKEMELC,,} and ${PATHNAME##*/}Save time and ensure consistency when automating tasksDiscover how bash idioms can make your code clean and concise
Bibliographic data © Gardners Books Ltd.