Pro Bash Programming: Scripting the GNU/Linux Shell (Paperback)

Chris Johnson

買這商品的人也買了...

相關主題

商品描述

The bash shell is a complete programming language, not merely a glue to combine external Linux commands. By taking full advantage of shell internals, shell programs can perform as snappily as utilities written in C or other compiled languages. And you will see how, without assuming Unix lore, you can write professional bash 4.0 programs through standard programming techniques.

  • Complete bash coverage
  • Teaches bash as a programming language
  • Helps you master bash 4.0 features

 

What you’ll learn

 

  • Use the shell to write new utilities and accomplish most programming tasks.
  • Use shell parameter expansion to replace many external commands, making scripts very fast.
  • Learn to avoid many common mistakes that cause scripts to fail.
  • Learn how bash’s readline and history libraries can save typing when getting user input.
  • Learn to use the new bash 4.0 features.
  • Build shell scripts that get information from the Web.

 

About the Apress Pro Series

 

The Apress Pro series books are practical, professional tutorials to keep you on and moving up the professional ladder.

You have gotten the job, now you need to hone your skills in these tough competitive times. The Apress Pro series expands your skills and expertise in exactly the areas you need. Master the content of a Pro book, and you will always be able to get the job done in a professional development project. Written by experts in their field, Pro series books from Apress give you the hard–won solutions to problems you will face in your professional programming career.

商品描述(中文翻譯)

bash shell 是一個完整的程式語言,不僅僅是一個結合外部 Linux 命令的工具。通過充分利用 shell 內部功能,shell 程式可以像 C 或其他編譯語言編寫的工具一樣高效。您將看到,即使不需要 Unix 知識,也可以通過標準的程式設計技巧來編寫專業的 bash 4.0 程式。

- 完整的 bash 覆蓋範圍
- 將 bash 教授為一種程式語言
- 幫助您掌握 bash 4.0 的功能

您將學到以下內容:

- 使用 shell 編寫新的工具並完成大部分程式任務。
- 使用 shell 參數擴展來替換許多外部命令,使腳本運行速度非常快。
- 學習避免導致腳本失敗的常見錯誤。
- 學習如何使用 bash 的 readline 和 history 函式庫在獲取用戶輸入時節省打字時間。
- 學習使用新的 bash 4.0 功能。
- 構建從網絡獲取信息的 shell 腳本。

Apress Pro 系列是實用的專業教程,可以幫助您在職業生涯中不斷提升。

您已經得到了工作,現在您需要在這個競爭激烈的時代中磨練自己的技能。Apress Pro 系列擴展了您在所需領域的技能和專業知識。掌握 Pro 系列書籍的內容,您將始終能夠在專業開發項目中完成工作。Apress 的 Pro 系列書籍由各自領域的專家撰寫,為您的職業程式設計生涯提供了寶貴的解決方案。