Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
syntax:quoting [2015/08/11 05:14]
bill_thomson
syntax:quoting [2015/08/12 00:13] (current)
bill_thomson
Line 3: Line 3:
 {{keywords>​bash shell scripting quoting quotes escape backslash marks singlequotes doublequotes single double}} {{keywords>​bash shell scripting quoting quotes escape backslash marks singlequotes doublequotes single double}}
  
-Quoting and escaping ​is really an important ​way to influence the way Bash treats ​your input. There are three recognized types:+Quoting and escaping ​are important, as they influence the way Bash acts upon your input. There are three recognized types:
   * **per-character escaping** using a backslash: ''​\$stuff''​   * **per-character escaping** using a backslash: ''​\$stuff''​
   * **weak quoting** with double-quotes:​ ''"​stuff"''​   * **weak quoting** with double-quotes:​ ''"​stuff"''​