-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
I like to install uutils by hand from the binary. To do this I wget the latest binary and create symlinks for each util within coreutils
The output of coreutils
at the moment is:
$ ./coreutils
coreutils 0.0.26 (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, dir, 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, 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, stty, sum, sync, tac, tail, tee, test, timeout, touch,
tr, true, truncate, tsort, tty, uname, unexpand, uniq, unlink, uptime, users, vdir, wc, who,
whoami, yes
Which is a little hard to parse. Could we add a coreutils listutils
function that prints the utils with a newline separator?
$ ./coreutils listutils
arch
b2sum
b3sum
base32
base64
basename
...
This would allow me to write a simplified script that automates the generation of symlinks from a bash/powershell script
Metadata
Metadata
Assignees
Labels
No labels