mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-08 10:51:15 -03:00
string split --fields: handle multi-line/arg input
This commit is contained in:
committed by
Johannes Altmanninger
parent
3f95440f26
commit
3bb86d3a61
@@ -107,6 +107,10 @@ string split --fields=1-3,5,9-7 "" 123456789
|
||||
# CHECK: 8
|
||||
# CHECK: 7
|
||||
|
||||
string split -f1 ' ' 'a b' 'c d'
|
||||
# CHECK: a
|
||||
# CHECK: c
|
||||
|
||||
seq 3 | string join ...
|
||||
# CHECK: 1...2...3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user