Patch accepted! https://archlinux.org/packages/commu...ils-coreutils/
Now down to 18MB installed size
Announcement
Collapse
No announcement yet.
Uutils 0.0.13 Released For GNU Coreutils Replacement In Rust
Collapse
X
-
OK, I found the issue in Arch packaging. I'll try to send a patch on Saturday.
Basically, the script is using GNU Make rather than Cargo. The project's GNUMakefile checks whether `MULTICALL iseq y` and uses `install` rather than using the Cargo.toml config. So, adding that flag to the PKGBUILD should fix it.
EDIT: well, I sent it. It was a one-liner anyway.Last edited by sinepgib; 06 April 2022, 06:00 AM.
Leave a comment:
-
Originally posted by moltonel View Post
My Gentoo packages are about the same sizes, for some reason it compiled uutils as separate binaries instead of a unified one as per upstream default. If you build the standard way and strip the resulting binary, you should be under 10MB. File a bug on your distro's package.
EDIT
If I have to guess, something like the following might have happened. First, whoever built it set it to make hard links rather than symbolic ones. Then the tar step made a copy for each path rather than a single one for the inode. I think you can configure tar to use hard links instead, tho symbolic links are probably easier to work with.
- Likes 1
Leave a comment:
-
Originally posted by jarekZ View Post
Is this a joke? This must be a joke, right?
Leave a comment:
-
Originally posted by jarekZ View PostIs this a joke? This must be a joke, right?
- Likes 3
Leave a comment:
-
Originally posted by jarekZ View Post
Is this a joke? This must be a joke, right?
Code:cargo build --release --features macos
coreutils 0.0.13 (multi-call binary)
Usage: coreutils [function [arguments...]]
Currently defined functions:
[, arch, b2sum, b3sum, base32, base64, basename, basenc, cat, chgrp,
chmod, chown, chroot, cksum, comm, cp, csplit, cut, date, dd, df,
dircolors, dirname, du, echo, env, expand, expr, factor, false, fmt,
fold, groups, hashsum, head, hostid, hostname, id, install, join, kill,
link, ln, logname, ls, md5sum, mkdir, mkfifo, mknod, mktemp, more, mv,
nice, nl, nohup, nproc, numfmt, od, paste, pathchk, pinky, pr, printenv,
printf, ptx, pwd, readlink, realpath, relpath, rm, rmdir, seq, sha1sum,
sha224sum, sha256sum, sha3-224sum, sha3-256sum, sha3-384sum, sha3-
512sum, sha384sum, sha3sum, sha512sum, shake128sum, shake256sum, shred,
shuf, sleep, sort, split, stat, stdbuf, sum, sync, tac, tail, tee, test,
timeout, touch, tr, true, truncate, tsort, tty, uname, unexpand, uniq,
unlink, uptime, users, wc, who, whoami, yes
Leave a comment:
-
https://archlinux.org/packages/commu...ils-coreutils/
Packaged size: 9.4 MB
Installed size: 112.6 MB
Leave a comment:
-
Originally posted by Luke_Wolf View Post
I mean... yes is just a special case of "stdin/stdout is slow" and the severe bottleneck does require acknowledgement and effort to work around... as I mentioned, however... most other text processing commands can be buffered into a single read/write so that's much less of an issue.
- Likes 1
Leave a comment:
-
Originally posted by ssokolow View Post
You'd think that, but not necessarily. Take a look at A Little Story About the `yes` Unix Command by Matthias Endler.
Leave a comment:
-
Originally posted by xhustler View PostRound and round and round again ! Notice how lots of stuff is rewritten every couple of years.
Hope the same thing does not happen when Bust/Dust/Gust (The super compiler released to fix Rust memory corruption - coz some n00bs failed to learn and use the language correctly ) is released.
Wouldn't be easier just to give a scan over the official Rust book instead of posting psychotics rants?
- Likes 4
Leave a comment:
Leave a comment: