ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: ASA <llb@udm.ru>
To: "A.L. Klyutchenya" <community@altlinux.ru>
Subject: [Comm] Re[2]: [Comm] Re[2]: [Comm] Re: [Comm] #!/bin/bash вопрос
Date: Tue, 26 Nov 2002 21:17:40 +0400
Message-ID: <8319676643.20021126211740@udm.ru> (raw)
In-Reply-To: <200211261832.54492.asoneofus@nm.ru>

Hello A.L.,

Tuesday, November 26, 2002, 7:32:54 PM, you wrote:

>> это первое что мне пришло в голову, но, очевидно, не так
>> быстро он будет считать...

ALK> Дааа... теперь врюхался в пробелы в названиях :-)
предлагаю использовать ls -b и массивы
ls -b |(
  read n
  i=1
  while [ -n "$n" ]
  do
    echo $n
    arr[$i]=$n
    i=$(($i + 1))
    read n
  done
  )

-- 
Best regards,
 ASA                            mailto:llb@udm.ru



  reply	other threads:[~2002-11-26 17:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-26 14:15 A.L. Klyutchenya
2002-11-26 14:20 ` A.L. Klyutchenya
2002-11-26 14:57   ` [Comm] Re[2]: " "Werstak"
2002-11-26 14:49 ` [Comm] " ASA
2002-11-26 15:01   ` A.L. Klyutchenya
2002-11-26 15:14     ` [Comm] Re[2]: " ASA
2002-11-26 15:32       ` A.L. Klyutchenya
2002-11-26 17:17         ` ASA [this message]
2002-11-27  5:29     ` jin

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=8319676643.20021126211740@udm.ru \
    --to=llb@udm.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