mirror of
https://github.com/nushell/nushell.git
synced 2024-12-27 01:19:25 +01:00
2aeb77bd3e
# Description Those two commands did *not* vectorize over the input in the pure sense as they performed a flat map. Now they return a list for each string that gets split by them. ``` ["foo" "bar"] | split chars ``` ## Before ``` ╭───┬───╮ │ 0 │ f │ │ 1 │ o │ │ 2 │ o │ │ 3 │ b │ │ 4 │ a │ │ 5 │ r │ ╰───┴───╯ ``` ## After ``` ╭───┬───────────╮ │ 0 │ ╭───┬───╮ │ │ │ │ 0 │ f │ │ │ │ │ 1 │ o │ │ │ │ │ 2 │ o │ │ │ │ ╰───┴───╯ │ │ 1 │ ╭───┬───╮ │ │ │ │ 0 │ b │ │ │ │ │ 1 │ a │ │ │ │ │ 2 │ r │ │ │ │ ╰───┴───╯ │ ╰───┴───────────╯ ``` |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
LICENSE |