From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] [wiki] || vs && (exit code)
Date: Mon, 3 Sep 2007 14:10:23 +0300
Message-ID: <20070903111023.GC22100@osdn.org.ua> (raw)
In-Reply-To: <75e139a00709020900v702fb7e5j9cfea2401fbea0e2@mail.gmail.com>
On Sun, Sep 02, 2007 at 11:00:51PM +0700, Slava Semushin wrote:
> > > > [ -z "$1" ] && exit 1
> > > [ -n "$1" ] || return
> > Логично, но возможно ли пояснить разницу запоминабельным образом?
> http://www.freesource.info/wiki/AltLinux/Sisyphus/devel/spectips/ReturnCodes
> Не оно?
Пожалуй, спасибо.
Как всё-таки полезно делать наброски на вики... :)
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
next prev parent reply other threads:[~2007-09-03 11:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-31 23:21 ` [devel] I: sleep vs usleep (was: [Bug 12655] upgrade() is broken (wrong pidfile handling)) Dmitry V. Levin
2007-09-01 9:05 ` Michael Shigorin
2007-09-02 16:00 ` Slava Semushin
2007-09-03 11:10 ` Michael Shigorin [this message]
2007-09-09 9:21 ` [devel] I: sleep vs usleep and stop_daemon timeout Eugene Prokopiev
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=20070903111023.GC22100@osdn.org.ua \
--to=mike@osdn.org.ua \
--cc=devel@lists.altlinux.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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git