public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Duncan <1i5t5.duncan@cox.net>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev]  Re: [gentoo-commits] gentoo-x86 commit in sys-fs/udev: ChangeLog udev-115-r6.ebuild
Date: Mon, 24 Sep 2007 23:51:54 +0000 (UTC)	[thread overview]
Message-ID: <pan.2007.09.24.23.51.54@cox.net> (raw)
In-Reply-To: 20070924200956.GS22279@supernova

Donnie Berkholz <dberkholz@gentoo.org> posted
20070924200956.GS22279@supernova, excerpted below, on  Mon, 24 Sep 2007
13:09:57 -0700:

> For tests, pick a style
> [[ ]] or [ ] and stick with it. The [[ ]] one is pretty nice because it
> generally doesn't require quotes, so the code looks a lot cleaner.

Can you point me (and anyone else that may be interested) to a nice 
explanation of the difference?  I've always wondered why [[ ]] is 
considered "better" than [ ] for tests.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

-- 
gentoo-dev@gentoo.org mailing list



  reply	other threads:[~2007-09-25  0:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1IZu5i-00013W-Ix@stork.gentoo.org>
2007-09-24 20:09 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-fs/udev: ChangeLog udev-115-r6.ebuild Donnie Berkholz
2007-09-24 23:51   ` Duncan [this message]
2007-09-25  0:20     ` Mike Frysinger
2007-09-25  2:10     ` Lars Weiler
2007-09-25  2:19     ` Ryan Hill
2007-09-25  9:54       ` Duncan
2007-09-25  8:54   ` Matthias Schwarzott

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pan.2007.09.24.23.51.54@cox.net \
    --to=1i5t5.duncan@cox.net \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox