nushell/crates/nu-command/src
Stefan Holderbach 2aeb77bd3e
Fix output signature of split chars/words (#9739)
# 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 │ │
│   │ ╰───┴───╯ │
╰───┴───────────╯
```
2023-07-23 17:06:41 -05:00
..
charting revert: move to ahash (#9464) 2023-06-18 15:27:57 +12:00
conversions Use explicit in/out list types for vectorized commands (#9742) 2023-07-23 20:46:53 +02:00
database handle sqlite tables better by surrounding with brackets (#9752) 2023-07-20 11:20:56 -05:00
date Update some help examples (#8759) 2023-04-05 18:36:00 -05:00
debug add any -> record to metadata (#9755) 2023-07-21 07:11:20 +12:00
deprecated fix typo in deprecated message: $nu should be $env (#9579) 2023-07-01 17:55:25 +02:00
env Input output checking (#9680) 2023-07-14 15:20:35 +12:00
experimental Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00
filesystem fix removing symlinks on windows (#9704) 2023-07-20 20:16:03 +02:00
filters Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00
formats Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00
generators Document and critically review ShellError variants - Ep. 2 (#8326) 2023-03-06 11:31:07 +01:00
hash move common tools from nu-command to nu-cmd-base (#9455) 2023-06-22 14:45:54 -07:00
help Apply nightly clippy lints (#9654) 2023-07-12 00:00:31 +02:00
math Use explicit in/out list types for vectorized commands (#9742) 2023-07-23 20:46:53 +02:00
misc REFACTOR: move source out of deprecated commands (#9060) 2023-05-04 00:02:03 +02:00
network Input output checking (#9680) 2023-07-14 15:20:35 +12:00
path Refactor path commands (#9687) 2023-07-15 00:04:22 +03:00
platform Input output checking (#9680) 2023-07-14 15:20:35 +12:00
random Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00
shells Fix usage for the exit command. (#9450) 2023-06-16 10:09:02 +02:00
strings Fix output signature of split chars/words (#9739) 2023-07-23 17:06:41 -05:00
system Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00
viewers Use is-terminal crate for now (#9670) 2023-07-12 18:15:54 +02:00
default_context.rs cratification: part III of the math commands to nu-cmd-extra (#9674) 2023-07-13 09:11:26 -07:00
example_test.rs cratification: part III of the math commands to nu-cmd-extra (#9674) 2023-07-13 09:11:26 -07:00
hook.rs cratification: move the bytes command to nu-cmd-extra (#9509) 2023-06-23 12:23:08 -07:00
lib.rs cratification: move the bytes command to nu-cmd-extra (#9509) 2023-06-23 12:23:08 -07:00
progress_bar.rs cp progress bar implementation (#8012) 2023-02-22 11:57:38 -08:00
sort_utils.rs Support passing an empty list to sort, uniq, sort-by, and uniq-by (issue #5957) (#8669) 2023-03-29 19:55:38 -07:00