1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00
Commit graph

27 commits

Author SHA1 Message Date
Peter Stephenson
8bf3595e3a users/19059 based on users/19058: remove ineffiency with multiple * matches 2014-09-08 16:38:51 +01:00
Peter Stephenson
6116f1dafa 32954 plus new test: [[ ... = ...(#q...) ]] shouldn't force a glob.
The (#q...) expression should simply be removed to leave a normal pattern
as before
2014-08-04 19:52:50 +01:00
Daniel Shahaf
69378db3c5 32708: glob qualifier (Y) implies (oN)
plus incidental patch to avoid adding a meaningless bitvalue to sort-order flags
2014-06-04 22:47:20 -07:00
Daniel Shahaf
9381bb6a2d 32694: the number of matches to find is the suffix argument of (Y) qualifier 2014-06-03 23:46:07 -07:00
Daniel Shahaf
06a4913245 users/18870: fix glob scanner insert counting check.
Was causing problems with globs in paths with (Y) glob qualifier
2014-06-02 14:32:51 +01:00
Daniel Shahaf
10ae77c0cf users/18857: add (Y) glob qualifier to generate only one match per pattern 2014-06-01 14:18:21 -07:00
Peter Stephenson
501f2003a8 32640: (#q) in [[ ... ]] forces globbing 2014-06-01 20:55:39 +01:00
Peter Stephenson
db23c63005 32136: fix problem with kshglob.
Non-pattern characters that could be followed by "(" to introduce
a ksh glob but weren't caused failures.
2013-12-16 22:20:06 +00:00
Peter Stephenson
8e2d4c2cf7 32030: need to revert empty glob qualifier change.
It failed on an empty expansion that (N) was supposed to remove.
Add test for this case.
2013-11-20 17:35:57 +00:00
Peter Stephenson
0c97990b20 31889: tests for disable -p 2013-10-24 19:37:50 +01:00
Peter Stephenson
bbc88550db 27723: eval shouldn't modify non-zero return statuses 2010-02-19 12:26:08 +00:00
Peter Stephenson
f4f0becb63 27694: add P glob qualifier for prepending 2010-02-09 17:47:02 +00:00
Peter Stephenson
14231691e1 26061: fix clash between process subst and numeric glob
26062: additional compmatch change, missed from 26047
2008-11-18 10:07:31 +00:00
Peter Stephenson
7389a42d17 24708: Misc/globtests, Src/pattern.c, Test/D02glob.ztst:
fix backtracking problem in (#c) pattern
2008-03-30 22:14:22 +00:00
Peter Stephenson
a81e5a609e add (#cN,M) globbing flag 2007-07-27 21:51:32 +00:00
Peter Stephenson
09bc7ee2b5 22557: turn on multibyte option by default 2006-07-25 18:10:37 +00:00
Oliver Kiddle
6245d3e32f 21317: fix bug where recursive glob within e qualifier would hang the shell 2005-06-21 08:58:43 +00:00
Peter Stephenson
4fc0fadfaa Add [[:IFS:]] etc. tests. 2005-05-09 10:46:08 +00:00
Peter Stephenson
51ec0b8079 20983: failed glob from fixed strings segments in globbed paths 2005-03-16 11:50:50 +00:00
Peter Stephenson
c8e70ab5cf 20522: must-match optimisation in parameter substitution broken 2004-10-26 17:20:21 +00:00
Peter Stephenson
feca88ede6 20513: fix tests of zero-length patterns
trivial optimisation in jobs.c (unposted)
2004-10-22 15:36:35 +00:00
Peter Stephenson
b115ca307a 20500: Unmetafy patterns where possible and other minor pattern fixes 2004-10-18 11:56:14 +00:00
Peter Stephenson
a82a2564dd 20490: Don't assume null termination for test string in pattern matching. 2004-10-15 10:21:02 +00:00
Wayne Davison
43156fe528 Test the new F glob qualifier. 2004-04-06 17:48:16 +00:00
Peter Stephenson
7d672455bb 19269: 8-bit characters in character classes 2003-12-03 10:54:36 +00:00
Oliver Kiddle
244f2a14fc 18391: add tests for read builtin a few glob qualifiers, 17678 and 18015 2003-03-26 17:33:04 +00:00
Sven Wischnowsky
5efb1e47cb moved from ./Test/11glob.ztst 2001-04-02 12:33:33 +00:00