Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
Toybox
Toybox provides common Linux command line utilities together in a single BSD-licensed executable that's simple, small, fast, and reasonably standards-compliant.
Collective -
Host: opensource -
https://opencollective.com/toybox
- Website: https://landley.net/toybox/about.html
- Code: https://github.com/landley/toybox
github.com/landley/toybox - b0e204b33d77df151e2c33c48973820ba0fe0ca7 authored about 3 years ago by Rob Landley <[email protected]>
Use more _cmd suffixes on anchor tags because <a name=blah> and <span id=blah>
apparently stomp ...
github.com/landley/toybox - f574706bb8a16b0cd32fba61c1b259969a70870f authored about 3 years ago by Eric Molitor <[email protected]>
github.com/landley/toybox - dedb7419c2ef6a8ba0cc80347b40e8d9ead098c2 authored about 3 years ago by Eric Molitor <[email protected]>
github.com/landley/toybox - df6da52cd502398fe6c35f43d83f92d89b3956d3 authored about 3 years ago by Eric Molitor <[email protected]>
github.com/landley/toybox - 5499b2453c2d679d13113e1efa65207e3757f2f5 authored about 3 years ago by Eric Molitor <[email protected]>
github.com/landley/toybox - 2d03640cdc85dd9f9810969bd8ee7d98c5bc67b1 authored about 3 years ago by Eric Molitor <[email protected]>
TFTP supports passing options such as 'blksize' as part of the initial
RRQ or WRQ packet. These ...
github.com/landley/toybox - 3b41ba187f164907640af2f6e76bd51724848e3e authored about 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - 0f52e6cbddd64fab11aa74deea25ff77f0ef7564 authored about 3 years ago by Eric Molitor <[email protected]>
github.com/landley/toybox - 018db3feca576afded0da56c9d9c192417833f6a authored about 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - d319b974b8d3b91f9df17ae18bfcf27fbc2d336f authored about 3 years ago by Rob Landley <[email protected]>
and thus grep's match-after-null test.
github.com/landley/toybox - 852e4ca9b87e94afaa7a71f0e70a18eb72f826c3 authored about 3 years ago by Rob Landley <[email protected]>
Existing directories should be ignored without errors only with -p flag (according
to POSIX).
S...
github.com/landley/toybox - b8418383a033a5bb6967889b3d1502e15127250b authored about 3 years ago by Mikhail Kashkarov <[email protected]>
Believe it or not -- I struggle to believe it myself -- we've been
ignoring tail's complaint tha...
add calculate() wrapper around recalculate(), add the two EPOCH time magics,
handle VAR_TOUPPER, ...
github.com/landley/toybox - 9d7d87eae4a42ddbdd86233e78e24269c4af09cd authored over 3 years ago by Rob Landley <[email protected]>
Also modernize pidof.c, even though the bug was in lib.
github.com/landley/toybox - 1986075975db4cdab08133f8299ad72dd5af4b23 authored over 3 years ago by Elliott Hughes <[email protected]>github.com/landley/toybox - 9358f178cb7606e63a1e259949e0f549c32546f3 authored over 3 years ago by Rob Landley <[email protected]>
- Add simple hexdump implementation
- Add tests for hexdump
github.com/landley/toybox - 5a82dad22212b163323e23bb0383f3f7cd9002be authored over 3 years ago by Elliott Hughes <[email protected]>
For some reason "configure" is explicitly NOT passing
LDOPTIMIZE="-Wl,--gc-sections" to the mac ...
github.com/landley/toybox - a39df1343a42f810cde5a6f5ff446eb3ff9c8b8b authored over 3 years ago by Rob Landley <[email protected]>
M was long enough ago that even I don't remember exactly when, and I
work on Android! The year i...
(Need to test this on FreeBSD too...)
github.com/landley/toybox - 7af571d485b7baa659919b7e1716e06fc24052a5 authored over 3 years ago by Rob Landley <[email protected]>
Major and minor get 12 bits and 20 bits respectively, so when displayed
that's up to 3 digits (b...
Update the documentation and github CI actions (seeing all failures on
github makes sense becaus...
Also use FLAG().
github.com/landley/toybox - 2243f6f2ad08d6fb58140ba05a00e5615dff760c authored over 3 years ago by Elliott Hughes <[email protected]>
Remove unbounded scanfs. Also reduce the amount of allocation and
freeing by reusing the getline...
github.com/landley/toybox - 3dd73e9d1086fa7da9b0514ffd503a2473b31fdc authored over 3 years ago by Rob Landley <[email protected]>
add to -a, add to help.
github.com/landley/toybox - de233eb9fa6f4ebccc74d7e54b650ca935d43927 authored over 3 years ago by Rob Landley <[email protected]>github.com/landley/toybox - cbf3ee3a2f2242565ba4c960eefbbc144e58536f authored over 3 years ago by Johannes Schmitz <[email protected]>
The unbounded %[] here made me look at the kernel, where the size of a
block device name is limi...
We don't need the fd=fd hack for GCC 3.4 in 2021, and <linux/vt.h> has
given names to the two ma...
...but you can get 0 if you have a "no newline at end of file" file.
I've been through all the ...
github.com/landley/toybox - b30b1857da88f38f5f9f2e943f872d81ec6eb680 authored over 3 years ago by Elliott Hughes <[email protected]>
Just like every other time I've used %s with scanf, I was off by
one... The number _doesn't_ inc...
add tests, and update TEST_HOST tests that bash 5.x broke.
github.com/landley/toybox - 47258fc9a943e3618e8e6fc637eabe83dda3db28 authored over 3 years ago by Rob Landley <[email protected]>github.com/landley/toybox - f3559dc06f5d2a55417a824e494d1138d6017811 authored over 3 years ago by Rob Landley <[email protected]>
Note that these aren't equivalent to the CLOCK_MONOTONIC timer we
have on Linux, but short of sp...
(see https://www.spinics.net/lists/linux-api/msg49101.html) and use
an unsigned int argument whil...
On a desktop or server the difference between the realtime and monotonic
clocks doesn't matter m...
patch but with several other cleanups rolled in.
github.com/landley/toybox - 3062fc9e9a9f0d7ce347f32fa2e03cc8a793298f authored over 3 years ago by Rob Landley <[email protected]>Also use FLAG().
github.com/landley/toybox - 2a5dc105a323a20ab3dce82f3b39fa20555ab174 authored over 3 years ago by Elliott Hughes <[email protected]>github.com/landley/toybox - b1e25f15dd1f0fbec77860b54def2881c9d27f5c authored over 3 years ago by Elliott Hughes <[email protected]>
github.com/landley/toybox - 05e4f52c3ccce4ce370ff272f5339a84ba8f1d69 authored over 3 years ago by Elliott Hughes <[email protected]>
Also reuse isdotdot() from lib.
github.com/landley/toybox - 762400721d7bfc760a5612efde55d599ee3525c2 authored over 3 years ago by Elliott Hughes <[email protected]>
We don't even need to read from /proc at all here: we can get the time
since boot from clock_get...
Actually, the general get_line() -> getline() transformation isn't
necessary here. These are all...
Remove another get_line() caller, but also fix the basic "show ARP
table" behavior which was pre...
github.com/landley/toybox - fb3c380d070bb310352038a3a29de8506e6ff5af authored over 3 years ago by Peter Collingbourne <[email protected]>
This is already the non-machine-readable version, most scripts ignore
extra fields on the end th...
(I was looking at this code because I was looking at the output in a bug
report, and wasn't sure...
Obviously we're never going to be able to build strace for macOS,
but right now the reference to...
github.com/landley/toybox - 3f8c3059a1f29a8af7a3f26e8474bfcd8ac12e01 authored over 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - 317f1fa37c31491abea3e46514f06ee18a0305b5 authored over 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - e5ebc2a0af36e45ed121d8a0fa77170c579f1017 authored over 3 years ago by Rob Landley <[email protected]>
(Fixes "while do" segfaulting.)
github.com/landley/toybox - 42c0c0df6c7e04729be3ec27a64d5e11f4c5e31d authored over 3 years ago by Rob Landley <[email protected]>
This is most notably lacking -p and -f, and only covers a small subset
of system calls, but it's...
Requested by Facebook to avoid difficult quoting, but something we
should do anyway just to matc...
people, so don't depend on it.
github.com/landley/toybox - a3b423c58e6f67131ef5f1874fc6bd38880322b6 authored over 3 years ago by Rob Landley <[email protected]>github.com/landley/toybox - 744b9532cd3a6c1ddb54eca64188b2a4a96ecd7a authored over 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - 57fbeebb991a40e347df03563a5aae3192fc7d30 authored over 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - fb47b0120f7aa73c0821a8c55e15540d83baed01 authored over 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - 5d9432ba05f12301939ad669ecf318a707fdcea8 authored over 3 years ago by [email protected] <[email protected]>
The while loop for -a or -r was forgetting that argv is a char**.
Also:
* sort the options in ...
github.com/landley/toybox - f4c9e355e8c5816918aebd6400e1891f56dd55c9 authored over 3 years ago by Elliott Hughes <[email protected]>
finit_module(2) was added in Linux 3.8, and even CentOS 7.2 has 3.10, so
we should be able to as...
github.com/landley/toybox - 59006c40d366f6295b18523e74c48c328f8fe656 authored over 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - 80f82b2b5ee874637b0704f3a5a32c2b6fb86d14 authored over 3 years ago by Rob Landley <[email protected]>
busybox has a -d that delays before proceeding. Annoyingly systemd also
has a -d, but that's to ...
My original intent was to just get rid of the meaningless O_EXCL, which
isn't used by the kernel...
The other implementations just show Xs for the missing data and carry on.
github.com/landley/toybox - a169c46f62dac57a907c58a852d48fdce235d62a authored over 3 years ago by Elliott Hughes <[email protected]>github.com/landley/toybox - 5ef32b9530198f22a01c65e6d297644e19b89c5c authored over 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - 358109442c37bec57efd053aa777fd34bfe39186 authored over 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - 7ef3a94541d5a932c9d644766235de62d3271474 authored over 3 years ago by Rob Landley <[email protected]>
the first command name is relevant.
github.com/landley/toybox - e8f3f6c4f3d1afd51a2bb5a82c9f4e145a0d385f authored over 3 years ago by Rob Landley <[email protected]>
When I implemented this, I didn't actually have any i2c devices to test
with, and "quick write" ...
github.com/landley/toybox - 2f2c53f15b498e3ecf5cde499c5fdca4a965bd55 authored over 3 years ago by Rob Landley <[email protected]>
the point is to symlink other command names to it, and toybox
will see argv0 as the other command...
github.com/landley/toybox - d9cf7a047543c9927bc755371769f6380d95a4d2 authored over 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - 01f1a54769c8c1fe30a475e6999357f19b60e6aa authored over 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - 3b71ff9d7e4cab52b9d421bc8daf2bdd7810731d authored over 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - 842b0d24e304c57506ca83c147119dac29485bf9 authored over 3 years ago by Rob Landley <[email protected]>
PowerPC may be dead and gone, but arm64 is the new x86-64, and
x86-64 the new PowerPC :-)
github.com/landley/toybox - 23f16ee33e85aea73709c2e4d467288d56ad244c authored over 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - f438b6731da7e59df4d22ede60e5c8a7b6bd8998 authored over 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - 8b64d4ac83b9406f587543ed99927f2175b82b2d authored over 3 years ago by Rob Landley <[email protected]>
Allow num_to_sig(0) so kill doesn't disallow -0 because it can't
round-trip, and then teach list...
This matches procps ps, and at least one LTP test relies on it. The
behavior is specifically "no...
github.com/landley/toybox - a2bf4916be195f75c6097188401e472137276d49 authored over 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - b44af2dbc1aa5f020200615a664ec9f5c233d1f0 authored over 3 years ago by Rob Landley <[email protected]>
(In case of other errors.)
github.com/landley/toybox - 593ccd3cb4a38b9d57955d3b83361990918a07bc authored over 3 years ago by Rob Landley <[email protected]>
Two NUL headers indicate end of archive, but some implementations add lots
of extra NUL padding ...
haven't got a test environment for the new stuff yet.
Note: this implementation does not require...
github.com/landley/toybox - 9e7dbb6586ac98f50520db4b7614466a33e6f508 authored over 3 years ago by Rob Landley <[email protected]>github.com/landley/toybox - 3e30fb883137836a465c34df91af0eac338f5edf authored over 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - bc1dde183538670a95f43b13a9c8b1f11b7cfdf2 authored over 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - 8d127abe871abee437921084bb34a4eac9cfd381 authored over 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - 6b52142d276bbb3fbd3393f188b4416555bc827c authored over 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - 6968b7a64096132e6e5129ba652b2c7d91c5d079 authored over 3 years ago by Rob Landley <[email protected]>
github.com/landley/toybox - 3cf5ec1e95683b59762759cc8171e427e77b06f0 authored over 3 years ago by GuoChuang <[email protected]>
github.com/landley/toybox - f37e5bf24540ff3435734df8100416f404422662 authored over 3 years ago by Rob Landley <[email protected]>