Skip to content

Comment on Show HN: ut – Rust based CLI utilities for devs and ITparent

Comments

Note that uutils does not work if the file does not fit into memory.

With GNU coreutils:

   $ base64 /dev/zero | head -c 1 | wc -c
   1
With uutils doing the same would exhaust your systems memory until either it freezes or oomd kills the process.

For now. There's no reason this won't/can't be worked on in the future.

Which BusyBox, toybox, and coreutils commands fail with data larger than RAM? Has that been part of the spec yet?

Just realized `LC_COLLATE=C sort` must be specified if you don't want it to ignore leading underscores in sorting due to LC_COLLATE=en_US.utf8 being the default these days.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.