Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Example of use of (S) flag
- X-seq: zsh-users 21101
- From: Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
- To: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- Subject: Re: Example of use of (S) flag
- Date: Wed, 23 Dec 2015 23:25:19 +0000
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=19FxKh8uidzbgea9xNty7ve53b3sUpFgNDRL8hqfhtA=; b=iK07k8IKbEPwk/4lK+N6Lo6IMcH9UfyUYo+dIMBV3sq3wfY/3A2FAvjm3gW4V/KJ3/ jmnlu0i3QTBlywpksYajauORJj97PFcpf/aQ4kv5Adp3tus03Al45QmVSVblWZXTQ5gR XVrDpQwW/BDkD+rhf+6Oy5RwefQx6A6yIfEWkmr4uRJi+2zJNGqbjuIF6UnJIGCAI1Q+ srGnTXEeWBplfnckjltvx1J0cn9sA7+AgiRTn5MSrdY1NjB5hIvKAA3ie8KNjVBLno6a z+P4OE8kRiogsq5MEOnPJxUtr13OPi7RDSJGmPMAGkriWdZ10dMNqivYjVu5myFB0zvh k8DA==
- In-reply-to: <CAKc7PVBLdXYQ_NNU9q=v9TcfiZjsYKfDt2h=ZBdfGCt6t81cuQ__14537.6145992943$1450895198$gmane$org@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>, zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author