Commit Graph

6 Commits

Author SHA1 Message Date
Antoine Stevan
1e28cc1560
add a "bulk rename" command to the stdlib candidates (#643)
i received an archive with files with integer ids in their names (1, 2,
...) but because these ids had no padding, the files were completely out
of order when sorting... e.g. 9 comes after 10 because 1 comes before 9
as a character 🤔

i wrote a command to rename a bulk of files in a directory with a
closure 😋

i was not really sure where to put it, so i created
`stdlib-candidate/fs.nu` 👍
2023-12-11 09:00:10 +01:00
Gabin Lefranc
0a5c82274f
Add record module (#679)
Add a module to manipulate records.

It can be a potential candidate to nu's standard library ?
Take a look at the name of the functions to see if they respect naming
convention (or if you have better ideas of course 😉 )
2023-11-29 09:12:23 -06:00
WindSoilder
09d6c7e437
remove null-stream (#670)
It's a follow up to https://github.com/nushell/nushell/pull/11070
2023-11-17 09:16:21 -06:00
Hullabaloo-and-Howdy-Do
2fa5caa586
null-stream.nu as stdlib-candidate (#649)
This is a way to redirect to a null stream with the same syntax
regardless of platform.
2023-10-23 17:57:50 +02:00
Sam Vente
dae6115d4d
add tests to str.nu (#627)
As requested by @amtoine 😋

---------

Co-authored-by: Antoine Stevan <44101798+amtoine@users.noreply.github.com>
2023-10-02 19:12:08 +02:00
Sam Vente
20a297be73
Add str append to stdlib-candidate (#626)
As discussed in https://github.com/nushell/nushell/issues/10486 I've
added an stdlib-candidate folder where we can add scripts that might
want to be in std-lib at some point. Currently it only contains `str
append` and `str prepend` which work about how you'd expect. Thanks to
@amtoine for writing the initial function. I added a default branch that
just returns the input unaltered so it can be used more easily in the
middle of a pipe.
2023-09-30 17:13:46 -05:00