From: "Alexey V. Lubimov" <avl@l14.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Script
Date: Thu, 26 Sep 2002 17:40:15 +0400
Message-ID: <20020926174015.6a4a9970.avl@l14.ru> (raw)
In-Reply-To: <20020926173336.6b57cc2f.ill@krumn.oilnet.ru>
On Thu, 26 Sep 2002 17:33:36 +0400
"Илья Брызгалов" <ill@krumn.oilnet.ru> wrote:
> Thu, 26 Sep 2002 17:20:07 +0400 "Alexey V. Lubimov" <avl@l14.ru>
> написал:
>
> AVL> > Извините, не получается что?
> AVL> > [ill@illinux .mc]$ date ; sleep 20 ; date
> AVL> > Чтв Сен 26 16:33:16 MSD 2002
> AVL> > Чтв Сен 26 16:33:36 MSD 2002
> AVL> > [ill@illinux .mc]$
> AVL> > Если вы не знаете то ; в примере выше в скрипте замените на
> AVL> > возврат каретки <ENTER>
> AVL>
> AVL> вы же не в виндозе. тут многозадачность :)
> AVL>
> AVL> date && sleep 20 && date
> [ill@illinux ill]$ date && sleep 20 && date
> Чтв Сен 26 17:31:50 MSD 2002
> Чтв Сен 26 17:32:10 MSD 2002
> [ill@illinux ill]$
> И в чем разница?
сорри, и то и то работает как положено.
просто иногда надо, чтобы в случае неуспеха первой команды, последующие
не выполнялись.
короче зарапортовался. :(
неуспеха
--
С уважением, Алексей Любимов avl@cad.ru
next prev parent reply other threads:[~2002-09-26 13:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-26 11:02 Sasha Bogachyk
2002-09-26 11:07 ` Anton V. Boyarshinov
2002-09-26 11:28 ` Sasha Bogachyk
2002-09-26 11:53 ` Anton V. Boyarshinov
2002-09-26 12:36 ` "Илья Брызгалов"
2002-09-26 13:20 ` Alexey V. Lubimov
2002-09-26 13:33 ` "Илья Брызгалов"
2002-09-26 13:40 ` Alexey V. Lubimov [this message]
2002-09-26 11:07 ` å×ÇÅÎÉÊ ëÏÂÚÅ×
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=20020926174015.6a4a9970.avl@l14.ru \
--to=avl@l14.ru \
--cc=community@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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git