[TriLUG] bash cmd line processing question

Al Koscielny alko at nc.rr.com
Thu Feb 14 13:56:51 EST 2002


On Thursday 14 February 2002 13:36, you wrote:
> The (') is one of the ways to quote strings in shells, and I have
> never really understood the difference between " and '.

The shell ignores any text between single quotes ''.
The shell ignores most of the text between double quotes "" except that $, `, 
and \ are interpreted.  

An example is
FOO=bar
echo '$FOO'
$FOO
echo "$FOO"
bar
-- 
Al Koscielny
alko at nc.rr.com



More information about the TriLUG mailing list