From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Что такое ||: ?
Date: Sun, 11 Apr 2004 18:42:42 +0400
Message-ID: <20040411144242.GA15473@basalt.office.altlinux.org> (raw)
In-Reply-To: <20040410160725.194d7562.iadzhubey@rics.bwh.harvard.edu>
[-- Attachment #1: Type: text/plain, Size: 883 bytes --]
On Sat, Apr 10, 2004 at 04:07:25PM -0400, Ivan Adzhubey wrote:
> On Sat, 10 Apr 2004 22:30:48 +0400, Konstantin Lepikhov wrote:
> > Цитирую Ivan Adzhubey <iadzhubey@rics.bwh.harvard.edu>:
> >
> > > Очень содержательно, спасибо ;)
> > >
> > > Я маны читать умею, интересовало -зачем- этот оператор нужен в
> > > данной конкретной строке? Что он делает? Никаких аргументов которые
> > > можно было бы expand я не вижу. На мой непросвященный взгляд он
> > > здесь не делает ровным счетом -ничего-. Но согласитесь - это как-то
> > > странно.
> > Там был нужен код выхода, вот и его и сделали таким образом. Так
> > что-то этот оператор там делает ;-)
>
> Ага, то есть нужно чтобы exit code был всегда 0, даже если chgrp failed?
> А зачем? Вроде никто этот exit code не проверяет...
Когда пишешь ">/dev/null 2>&1", то "||:" как-то само добавляется. :)
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2004-04-11 14:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-10 7:18 Ivan Adzhubey
2004-04-10 8:01 ` Sergey Vlasov
2004-04-10 17:34 ` Konstantin Lepikhov
2004-04-10 18:14 ` Ivan Adzhubey
2004-04-10 18:30 ` Konstantin Lepikhov
2004-04-10 20:07 ` Ivan Adzhubey
2004-04-11 11:23 ` Alexey Lubimov
2004-04-11 14:42 ` Dmitry V. Levin [this message]
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=20040411144242.GA15473@basalt.office.altlinux.org \
--to=ldv@altlinux.org \
--cc=sisyphus@altlinux.ru \
/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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git