Karsten Wade wrote:
On Tue, 2007-12-04 at 10:16 +1300, Vladimir Kosovac wrote:
> Mike McGrath wrote:
>> I vote for " ' ' "
>>
>> -Mike
>>
> Yes, kind of more consistent this way...
How so?
In a way that when su -c is used, the actual commands follow wrapped in
double quotes (regardless of whether there is anything within the
command string to escape), ie:
su -c "yum install foo" seems to be used throughout the wiki, rather than
su -c 'yum install foo'
Vladimir
I was thinking that choosing one and enforcing it would be the
consistency. Agreed that " '' " is probably more widely used across
the
wiki/docs, thus making it easier to get consistency ...
What I was unclear on is the way the shell interprets the order; it
seems to make a difference in some cases, where we'd want to change our
usage per the requirement:
13:49 < mmcgrath> quaid: it only really makes a difference when you're dealing
with variables.
13:50 < mmcgrath> In which case it depends on whether you want to print $var
or the value of $var
Sounds like " '' " is the chosen way. I'll make that clear on the
WikiEditing page.
- Karsten