help / color / mirror / code / Atom feed
From: Leander Jedamus <ljedamus@googlemail.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: possible bug in zsh concerning a for loop
Date: Fri, 18 Mar 2022 08:33:26 +0100	[thread overview]
Message-ID: <ef02682f-2d96-4c7e-1d02-0d6a836b1f21@gmail.com> (raw)


I tried to get a normal for loop to work with zsh. Now I think I found a 

A short script is

items="item1 item2 item3"

for i in $items; do
   echo "\"$i\""

This prints:
"item1 item2 item3"

It should print:

I hope that somebody can verify this.

Thanks in advance
Leander Jedamus
_^_ Ich bin nicht das Problem. Ich bin die Lösung.

             reply	other threads:[~2022-03-18  7:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-18  7:33 Leander Jedamus [this message]
2022-03-18  8:45 ` Jun T
2022-03-18 14:14   ` Vincent Lefevre
2022-03-18  8:21 Leander Jedamus
2022-03-18 10:12 Leander Jedamus

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ef02682f-2d96-4c7e-1d02-0d6a836b1f21@gmail.com \
    --to=ljedamus@googlemail.com \
    --cc=zsh-users@zsh.org \


* 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


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).