mirror of
https://github.com/zsh-users/zsh
synced 2024-10-14 11:53:24 +00:00
34961: test for breadth-first glob with (Y1) qualifier (originally workers/32726)
This commit is contained in:
parent
e0cdf39fd9
commit
76fcbc6eda
|
@ -1,3 +1,8 @@
|
|||
2015-04-25 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 34961: Test/D02glob.ztst: test for breadth-first glob with (Y1)
|
||||
qualifier (originally workers/32726)
|
||||
|
||||
2015-04-24 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 34955: Src/exec.c: list_pipe_job needs saving and restoring
|
||||
|
|
|
@ -548,6 +548,7 @@
|
|||
(){ print "Negated:" $@:t } glob.tmp/dir*(Y1^Y)
|
||||
(){ print "Sorting:" $@:t } glob.tmp/dir*(Y4On)
|
||||
(){ [[ $#@ -eq 1 ]] && print Globs before last path component } glob.tmp/dir?/subdir(NY1)
|
||||
(){ [[ $1 == glob.tmp/a ]] } glob.tmp/**/a(Y1) && print Breadth first
|
||||
(){ [[ $#@ -eq 0 ]] && print Respects qualifiers } glob.tmp/dir*(NY1.)
|
||||
(print -- *(Y)) 2>/dev/null || print "Argument required"
|
||||
0:short-circuit modifier
|
||||
|
@ -558,6 +559,7 @@
|
|||
>Negated: dir1 dir2 dir3 dir4
|
||||
>Sorting: dir4 dir3 dir2 dir1
|
||||
>Globs before last path component
|
||||
>Breadth first
|
||||
>Respects qualifiers
|
||||
>Argument required
|
||||
|
||||
|
|
Loading…
Reference in a new issue