1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-16 18:21:01 +00:00
uutils-coreutils/tests/common
Jan Verbeek f562543b6c shuf: Use OS strings, don't split individual arguments, cleanup
- shuf now uses OS strings, so it can read from filenames that are
  invalid Unicode and it can shuffle arguments that are invalid
  Unicode. `uucore` now has an `OsWrite` trait to support this without
  platform-specific boilerplate.

- shuf no longer tries to split individual command line arguments,
  only bulk input from a file/stdin. (This matches GNU and busybox.)

- More values are parsed inside clap instead of manually, leading to
  better error messages and less code.

- Some code has been simplified or made more idiomatic.
2025-03-16 14:10:31 +01:00
..
macros.rs all: normalize license notice in all *.rs files 2023-08-24 12:21:09 +02:00
mod.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
random.rs tests/common/random.rs: adapt to rand API changes 2025-01-30 08:52:42 +01:00
util.rs shuf: Use OS strings, don't split individual arguments, cleanup 2025-03-16 14:10:31 +01:00