From: "Valery V. Inozemtsev" <shrek@freesource.info>
To: community@altlinux.ru
Subject: Re: [Comm] bash trouble
Date: Fri, 7 May 2004 22:41:10 +0400
Message-ID: <200405072241.10787.shrek@freesource.info> (raw)
In-Reply-To: <20040507101949.GE9007@master.mivlgu.local>
В сообщении от 7 Май 2004 14:19 Sergey Vlasov написал(a):
> On Fri, May 07, 2004 at 03:07:19PM +0500, Andrew Fefilov wrote:
> > > > Как видно из примера, в аргументе между "lll" и "kkk" стоит два
> > > > пробела. А в выводе скрипта уже остается только один. Как бы эти
> > > > грабельки обойти?
> > >
> > > echo "$1"
> >
> > Хм. Работает. Только не понятно, почему. Сергей, хотя бы ключевое
> > слово/выражение по которому порыскать по man bash, можно ?
>
> Word Splitting
хм... это все хорошо конечно... а теперь сравним вывод
LST=`find ~/Documents/Music -type f | grep ' '`
for i in $LST; do
echo $i
done
и заменим
for i in "$LST"; do
--
Valery V. Inozemtsev
ftp://ftp.altlinux.ru/pub/people/shrek/
next prev parent reply other threads:[~2004-05-07 18:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-07 7:00 Andrew Fefilov
2004-05-07 7:12 ` Valery V. Inozemtsev
2004-05-07 7:38 ` Andrew Fefilov
2004-05-07 7:56 ` Valery V. Inozemtsev
2004-05-07 8:16 ` Andrew Fefilov
2004-05-07 9:31 ` Sergey Vlasov
2004-05-07 10:07 ` Andrew Fefilov
2004-05-07 10:19 ` Sergey Vlasov
2004-05-07 18:41 ` Valery V. Inozemtsev [this message]
2004-05-07 10:47 ` Mike Lykov
2004-05-07 18:18 ` Maksim Otstavnov
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=200405072241.10787.shrek@freesource.info \
--to=shrek@freesource.info \
--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