Bash idioms

Bash idioms: write powerful, flexible, readable shell scripts

by Albing, Carl

Type Book
Rate 0.0 /5

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 g…

Read More ↓

Title Statements

  • Full title :Bash idioms : write powerful, flexible, readable shell scripts / Carl Albing and JP Vossen.

Summary

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 his 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.

Read More ↓

Edition Statements

  • Publication Date:©2022
  • Edition:First edition

Publication Statements

  • Publisher(s):O'Reilly Media
  • Place of Publication:Sebastopol, CA
  • Language:eng
  • Publication Date:©2022

Notes

Includes index.

The Physical Object

  • Description:xiii, 151 pages : : illustrations ; : 24 cm

Edition Identifiers

  • ISBN:1492094757, 9781492094753
  • oclc:on1272854714
  • LC Classification:QA76.76.O63
  • Dewey Decimal:005.438

Table of Contents

A big "if" idiom -- Looping lingo -- Just in case -- Variable vernacular -- Expressions and arithmetic -- Functional framework -- List and hash handling -- Arguing -- Files and more -- Beyond idioms : working with bash -- Developing your style guide.

Read More ↓

Subjects

Writers

Rate & Review

0.0/5
(0 people Voted)

No reviews yet. Be the first to rate this work.

Files & Downloads

  • bash Idioms: Write Powerful, Flexible, Readable S…

    EPUB · 296.0 KB · updated
  • bash Idioms: Write Powerful, Flexible, Readable S…

    EPUB · 1.6 MB · updated
  • bash Idioms: Write Powerful, Flexible, Readable S…

    EPUB · 1.7 MB · updated
  • bash Idioms: Write Powerful, Flexible, Readable S…

    EPUB · 2.6 MB · updated
  • bash Idioms: Write Powerful, Flexible, Readable S…

    PDF · 3.7 MB · updated
  • bash Idioms: Write Powerful, Flexible, Readable S…

    PDF · 9.5 MB · updated
  • Идиомы bash: мощные, гибкие и понятные сценарии к…

    PDF · 5.0 MB · updated
  • Идиомы bash мощные, гибкие и понятные сценарии ко…

    PDF · 5.0 MB · updated