Re: X11 resolution
Re: X11 resolution
- Subject: Re: X11 resolution
- From: Cameron Simpson <email@hidden>
- Date: Thu, 18 Dec 2008 16:18:28 +1100
On 18Dec2008 00:18, Harald Hanche-Olsen <email@hidden> wrote:
> + Cameron Simpson <email@hidden>:
>> On 16Dec2008 12:06, Harald Hanche-Olsen <email@hidden> wrote:
>>> +dpi="`defaults read $X11_PREFS_DOMAIN dpi 2>/dev/null`"
>>
>> You don't need " quotes in this line.
>
> But they don't hurt, and the rules for when you can do away with double
> quotes in the Bourne shell family are too weird to always remember, much
> less trust.
The rules are actually not too bad, once you wrap your head around them.
And extra quotes do hurt - they make it harder to use the " quotes
inside the backticks, which in fact I'd be doing, personally, for
$X11_PREFS_DOMAIN (yes, I know it shouldn't have spaces in it:-).
> (Don't get me started on an rc and es advocacy rant - this
> isn't comp.unix.shell after all, so I'll settle for pointing at
> http://en.wikipedia.org/wiki/Rc and
> http://en.wikipedia.org/wiki/Es_shell instead.)
I always did mean to look at rc one day...
--
Cameron Simpson <email@hidden> DoD#743
http://www.cskk.ezoshosting.com/cs/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden