nushell/crates/nu-command/src/strings
Dan Davison 4926865c4e
str collect => str join (#6531)
* Initialize join.rs as a copy of collect.rs

* Evolve StrCollect into StrJoin

* Replace 'str collect' with 'str join' everywhere

git ls-files | lines | par-each { |it| sed -i 's,str collect,str join,g' $it }

* Deprecate 'str collect'

* Revert "Deprecate 'str collect'"

This reverts commit 959d14203e.

* Change `str collect` help message to say that it is deprecated

We cannot remove `str collect` currently (i.e. via
`nu_protocol::ShellError::DeprecatedCommand` since a prominent project
uses the API:

b85542c31c/src/virtualenv/activation/nushell/activate.nu (L43)
2022-09-11 11:48:27 +03:00
..
encode_decode Add bits shl and bits shr command (#6202) 2022-08-02 15:52:04 -05:00
format Test command names and search terms for redundancy (#6380) 2022-08-24 11:16:47 +02:00
split Test command names and search terms for redundancy (#6380) 2022-08-24 11:16:47 +02:00
str_ str collect => str join (#6531) 2022-09-11 11:48:27 +03:00
build_string.rs bool type for binary operations (#5779) 2022-06-14 20:31:14 -05:00
char_.rs str collect => str join (#6531) 2022-09-11 11:48:27 +03:00
detect_columns.rs feat: add search terms to category of strings (#5723) 2022-06-06 08:47:09 -05:00
mod.rs Deprecate hash base64, extend decode and add encode commands (#5863) 2022-06-26 00:35:23 +03:00
parse.rs replace the regex crate with the fancy-regex crate (#6227) 2022-08-04 14:51:02 -05:00
size.rs replace the regex crate with the fancy-regex crate (#6227) 2022-08-04 14:51:02 -05:00