From: Micha Holzmann <holzmann@mhnet.de>
To: Paul Lew <paullew@cisco.com>
Cc: zsh-users@sunsite.dk
Subject: Re: cat file|while read behaves not as expected
Date: Mon, 16 Sep 2002 09:45:04 +0200 [thread overview]
Message-ID: <20020916074504.GA9060@idm-06.pf.kramski.de> (raw)
In-Reply-To: <15749.32672.519001.745519@paullew-ultra.cisco.com>
[-- Attachment #1: Type: text/plain, Size: 587 bytes --]
Hello Paul,
Quoting Paul Lew <paullew@cisco.com>:
> if you say:
>
> for i in $=line
>
> it will do what you want. Basically, the variable i will contain the
> "1 2 3 4 5", unless you told it to split word, the entire entry is
> will be used on variable expansion. This is what zsh does it
> correctly compare to other shells, but also a problem with
> compatibility :-)
so many thanks! Now my script runs how i expect it.
Also thanks to David Hughes!
Kind regards,
Gruss,
Micha Holzmann
--
My software never has bugs. It just develops random features.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2002-09-16 7:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-16 6:32 Micha Holzmann
2002-09-16 6:52 ` Paul Lew
2002-09-16 7:45 ` Micha Holzmann [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=20020916074504.GA9060@idm-06.pf.kramski.de \
--to=holzmann@mhnet.de \
--cc=paullew@cisco.com \
--cc=zsh-users@sunsite.dk \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).