From: Alexey Tourbin <at@turbinal.org>
To: devel@altlinux.ru
Subject: [devel] Re: Зависимости на скриптовые языки в мини-системе [JT]
Date: Tue, 11 Mar 2003 19:14:54 +0300
Message-ID: <20030311161454.GA8418@solemn.turbinal.org> (raw)
In-Reply-To: <200303111625.29656.legion@altlinux.ru>
[-- Attachment #1: Type: text/plain, Size: 827 bytes --]
On Tue, Mar 11, 2003 at 04:25:29PM +0300, Alexey Gladkov wrote:
> > Более того, стандартный шелл вовсе не продвинут, и даже такие
> > вещи, как массивы, приходится программировать в духе
> а чем вам не нравится такое создание массива:
> #!/bin/bash
> declare -a ARR
> declare -i I=0
> ARR[0]="zzz"
> ARR[1]="aaa"
> ARR[2]="qqq"
>
> for (( I=0 ; $I < 3 ; I=$I+1 )) ; do
> echo ${ARR[$I]}
> done
>
> echo ${ARR[@]}
Это расширения, заимствованные из продвинутых шеллов.
The C shell (47.5), awk (33.11), the Korn shell, and some other
UNIX command interpreters have built-in array support. The
standard Bourne shell doesn't, though its command line is a
sort-of array that you can store with the set (44.19) command -
and get stored values through $1, $2, etc.
http://www.eyetap.org/ece385/oreilly/unix/upt/ch45_34.htm
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-03-11 16:14 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-10 15:59 [devel] Зависимости на скриптовые языки в мини-системе rider
2003-03-10 16:15 ` Dmitry V. Levin
2003-03-10 16:27 ` rider
2003-03-11 10:19 ` [devel] " Michael Shigorin
2003-03-10 18:09 ` [devel] Re: Зависимости на скриптовые языки в мини-системе [JT] Alexey Tourbin
2003-03-10 20:35 ` Alexey I. Froloff
2003-03-10 18:14 ` [devel] Re: Зависимости на скриптовые языки в мини-системе Alexey Tourbin
2003-03-10 18:52 ` rider
2003-03-10 19:19 ` Alexey Tourbin
2003-03-10 21:19 ` Andrey Orlov
2003-03-11 8:53 ` rider
2003-03-11 10:08 ` Mikhail Zabaluev
2003-03-11 13:56 ` [devel] Re: Зависимости на скриптовые языки в мини-системе [JT] Alexey Tourbin
2003-03-11 13:25 ` Alexey Gladkov
2003-03-11 15:55 ` Igor Homyakov
2003-03-11 16:14 ` Alexey Tourbin [this message]
2003-03-11 16:37 ` [devel] " Uzorin Pavel
2003-03-11 17:02 ` Michael Shigorin
2003-03-10 22:51 ` [devel] Re: Зависимости на скриптовые языки в мини-системе Mikhail Zabaluev
2003-03-11 0:20 ` [devel] Patch: libglade2 (was Re: Зависимости на скриптовые языки в мини-системе) Mikhail Zabaluev
2003-03-11 8:44 ` [devel] Зависимости на скриптовые языки в мини-системе Stanislav Ievlev
2003-03-11 8:59 ` rider
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=20030311161454.GA8418@solemn.turbinal.org \
--to=at@turbinal.org \
--cc=devel@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 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