Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Example of use of (S) flag



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