Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


Top White Papers

More on LinuxToday


Bash Quoting

Aug 27, 2009, 18:32 (2 Talkback[s])
(Other stories by Mitch Frazier)

"he basics of quoting are simple, use single or double quotes when a value contains spaces:

a="hello world"
a='hello world'

"But single and double quotes are different. Single quotes don't support any kind of variable substitution or escaping of special characters inside the quoted string. Double quotes, on the other hand, support both:"

Complete Story

Related Stories: