summaryrefslogtreecommitdiffstats
path: root/tests/018
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-06-20 17:10:14 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-06-20 17:10:14 -0700
commita93ca48fd3bad30132dff3df62637a6d8dcf28e2 (patch)
tree2d7c698f07e2143d0bd8d4c6ddc5c8a81d6952e7 /tests/018
parentb08b6b218c1f69baa927f1e367742045eea454af (diff)
downloadtxr-a93ca48fd3bad30132dff3df62637a6d8dcf28e2.tar.gz
txr-a93ca48fd3bad30132dff3df62637a6d8dcf28e2.tar.bz2
txr-a93ca48fd3bad30132dff3df62637a6d8dcf28e2.zip
glob: support sequence of patterns argument.
* glob.c (glob_wrap): Negate the GLOB_WRAP flag should it be present on input. If the input is a string, process it much like before. Otherwise loop over the pattern and call globl multiple times, adding the GLOB_APPEND flag for the second and subsequent times, and breaking out of the loop if a control transfer is detected. * txr.1: Document.
Diffstat (limited to 'tests/018')
0 files changed, 0 insertions, 0 deletions