From: Stephane Chazelas <stephane.chazelas@gmail.com>
To: Sebastian Gniazdowski <sgniazdowski@gmail.com>
Cc: zsh-users@zsh.org
Subject: Re: Example of use of (S) flag
Date: Wed, 23 Dec 2015 23:25:19 +0000 [thread overview]
Message-ID: <20151223232519.GA9602@chaz.gmail.com> (raw)
In-Reply-To: <CAKc7PVBLdXYQ_NNU9q=v9TcfiZjsYKfDt2h=ZBdfGCt6t81cuQ__14537.6145992943$1450895198$gmane$org@mail.gmail.com>
2015-12-23 19:25:05 +0100, Sebastian Gniazdowski:
> Hello,
> completion says that (S) is "search substrings in #, %, /
> expressions". Can someone provide example of (S) influence? Thanks
[...]
$ a=ababa
$ echo ${(S)a#b}
aaba
$ echo ${(S)a%b}
abaa
next parent reply other threads:[~2015-12-23 23:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAKc7PVBLdXYQ_NNU9q=v9TcfiZjsYKfDt2h=ZBdfGCt6t81cuQ__14537.6145992943$1450895198$gmane$org@mail.gmail.com>
2015-12-23 23:25 ` Stephane Chazelas [this message]
2015-12-24 5:01 ` Bart Schaefer
2015-12-24 7:53 ` Sebastian Gniazdowski
2015-12-28 18:23 ` Philippe Troin
2015-12-28 19:13 ` Mikael Magnusson
2015-12-23 18:25 Sebastian Gniazdowski
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=20151223232519.GA9602@chaz.gmail.com \
--to=stephane.chazelas@gmail.com \
--cc=sgniazdowski@gmail.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).