mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
973dd6ffbd
Enhance the `read` builtin to support creating an array with the --array flag. With --array, only a single variable name is allowed and the entire input is tokenized and placed into that variable as an array. Also add custom behavior if IFS is empty or unset. In that event, split the input on every character, instead of the previous behavior of doing no splitting at all.
12 lines
304 B
Text
12 lines
304 B
Text
Testing high level script functionality
|
|
File printf.in tested ok
|
|
File read.in tested ok
|
|
File test1.in tested ok
|
|
File test2.in tested ok
|
|
File test3.in tested ok
|
|
File test4.in tested ok
|
|
File test5.in tested ok
|
|
File test6.in tested ok
|
|
File test7.in tested ok
|
|
File test8.in tested ok
|
|
File test9.in tested ok
|