From: Ryan Hill <dirtyepic@gentoo.org>
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 20:19:34 -0600 [thread overview]
Message-ID: <fd9r7m$6p7$1@sea.gmane.org> (raw)
In-Reply-To: <pan.2007.09.24.23.51.54@cox.net>
Duncan wrote:
> 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.
check out http://tldp.org/LDP/abs/html/testconstructs.html#DBLBRACKETS
--
fonts / wxWindows / gcc-porting / treecleaners
9B81 6C9F E791 83BB 3AB3 5B2D E625 A073 8379 37E8 (0x837937E8)
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2007-09-25 2:40 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
2007-09-25 0:20 ` Mike Frysinger
2007-09-25 2:10 ` Lars Weiler
2007-09-25 2:19 ` Ryan Hill [this message]
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='fd9r7m$6p7$1@sea.gmane.org' \
--to=dirtyepic@gentoo.org \
--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