From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: Re: script help
Date: Sat, 08 Dec 2012 09:07:11 -0800 [thread overview]
Message-ID: <121208090711.ZM27197@torch.brasslantern.com> (raw)
In-Reply-To: <CAH_OBidN=qJit_VyF0_nATNms=M=vKMkWjq3sUgWe+9OrnwngA@mail.gmail.com>
On Dec 8, 10:43am, shawn wilson wrote:
}
} I don't think I understand this. how is a string different from zsh
} splitting a variable up (I'm guessing an array based on ${=cmd})?
http://zsh.sourceforge.net/FAQ/zshfaq03.html#31
} And I'm guessing this is different from how bash handles this?
http://zsh.sourceforge.net/FAQ/zshfaq02.html#l10
The classic difference is word splitting, discussed in question 3.1;
this catches out very many beginning zsh users. As explained there,
this is actually a bug in every other shell. The answer is to set
SH_WORD_SPLIT for backward compatibility. The next most classic
difference is that unmatched glob patterns cause the command to abort;
set NO_NOMATCH for those.
prev parent reply other threads:[~2012-12-08 17:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-08 11:15 shawn wilson
2012-12-08 15:09 ` Aaron Schrab
2012-12-08 15:43 ` shawn wilson
2012-12-08 17:07 ` Bart Schaefer [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=121208090711.ZM27197@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-users@zsh.org \
/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).