- Bash Quick Start Guide
- Tom Ryder
- 155字
- 2021-07-23 16:58:56
Quoting
The way you can reliably include characters that are special to Bash literally in a command line is to quote them. Quoting special characters makes Bash ignore any special meaning they may otherwise have to the shell, and instead use them as plain characters, like a-z or 0-9. This works for almost any special character.
Quoting is the most important thing that even experienced people who write shell script sometimes get wrong. Even a lot of very popular documentation online fails to quote correctly in example scripts! If you learn to quote correctly, you will save yourself a lot of trouble down the line. The way quoting in shell script works very often surprises people coming from other programming languages.
We will look at three kinds of quoting: escaping, single-quoting, and double-quoting.
- 精通Windows Vista必讀
- Visual C# 2008開發技術詳解
- Windows程序設計與架構
- 大數據技術與應用
- 項目管理成功利器Project 2007全程解析
- Prometheus監控實戰
- TensorFlow Reinforcement Learning Quick Start Guide
- Linux嵌入式系統開發
- R Machine Learning Projects
- Mastering GitLab 12
- 基于RPA技術財務機器人的應用與研究
- 數字多媒體技術基礎
- Hands-On Business Intelligence with Qlik Sense
- Microsoft System Center Data Protection Manager Cookbook
- 計算機辦公應用培訓教程