Rob Landley fb3c28fe89 realpath should parse -e 2 жил өмнө
..
README aa777fe07d Add README file to each toys/ directory, teach build infrastructure to get fancy name from that. This means adding new directories shouldn't require touching build scripts. 11 жил өмнө
acpi.c 141a075c0e Clean up some --help formatting. 5 жил өмнө
ascii.c 2a8e198104 Missed a couple in the wchar_t -> unsigned conversion. 3 жил өмнө
base64.c af50278fc9 Cleanup base32 slightly. 3 жил өмнө
blkdiscard.c 0030729a09 blkdiscard: fix uninitialised offset 3 жил өмнө
blkid.c cb1af1882a blkid: more scanf fun. 2 жил өмнө
blockdev.c b8070a7425 OpenEmbedded needs commands installed in specific places. 5 жил өмнө
bzcat.c 141a075c0e Clean up some --help formatting. 5 жил өмнө
chcon.c 141a075c0e Clean up some --help formatting. 5 жил өмнө
chroot.c 95574e3f2a cmp/env/nice/nohup/sort: use TOYFLAG_ARGFAIL. 5 жил өмнө
chrt.c 59e16e10b4 Yank some unnecessarily exported global variables that should be static. 2 жил өмнө
clear.c c3f3f842c5 Replace \033 with \e in strings. 2 жил өмнө
count.c 83326334d5 Speed up count: use 64k block size, update display at most 4x/second. 3 жил өмнө
devmem.c 54e2cd704f Teach devmem about nommu and 0x prefix on address. Print hex or decimal 3 жил өмнө
dos2unix.c d3a435e53c Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable format 8 жил өмнө
eject.c bd001e498d Clean up eject.c to use linux/eject.h and FLAG() macros. 2 жил өмнө
factor.c b6eb5a16dc Minor cleanups, and switch lll to "long long" for 32 bit platforms. 2 жил өмнө
fallocate.c b28b2a60c6 Switch fallocate to new style global names. 4 жил өмнө
flock.c eb7e847adc Be more consistent about periods in help text. 7 жил өмнө
fmt.c 141a075c0e Clean up some --help formatting. 5 жил өмнө
free.c b1b7fec80d Denys Vlasenko pointed out that other implementations use "t" as "total", 3 жил өмнө
freeramdisk.c 2f2c53f15b Go ahead and leak the filehandle, the command exits immediately. 2 жил өмнө
fsfreeze.c 141a075c0e Clean up some --help formatting. 5 жил өмнө
fsync.c 1ea6e127d5 Minor cleanups. 2 жил өмнө
gpiod.c 946f7d63d6 Traverse doubly linked list non-infinitely. 2 жил өмнө
help.c e22443c633 Don't show "toybox" header line for "help" output unless called with no args. 2 жил өмнө
hexedit.c 7fe3cb1fa9 Move ANSI escape cheat sheet to tty.c 2 жил өмнө
hwclock.c a079039934 Have xclose() perform the fd != -1 test. 3 жил өмнө
i2ctools.c eee419c1d7 flags.h can #define its own CLEANUP_ macros for the next #include 2 жил өмнө
inotifyd.c d3a435e53c Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable format 8 жил өмнө
insmod.c 61cb6ab6b9 Move #include <sys/syscall.h> into toys.h. 2 жил өмнө
ionice.c 42ce6272f5 When args.c is just enforcing max/min argument count with no options, imply ? 2 жил өмнө
login.c d1598daf20 login: clear environment when -p is absent 5 жил өмнө
losetup.c 0b00ea7fb8 Change xabspath() to more granular (flag based) control interface. 2 жил өмнө
lsattr.c eee419c1d7 flags.h can #define its own CLEANUP_ macros for the next #include 2 жил өмнө
lsmod.c 1dd3704c5f To ensure that toybox can be installed alongside busybox without 9 жил өмнө
lsusb.c 6f24967142 Add spaces to lsusb output, trigger on the correct entries, tweak help text. 2 жил өмнө
makedevs.c 2a5dc105a3 makedevs: stop using get_line(). 2 жил өмнө
mcookie.c 1558e7dbbf Promote mcookie 5 жил өмнө
mix.c 6a73e13d75 Convert more option vars to the new (single letter) coding style. 5 жил өмнө
mkpasswd.c 141a075c0e Clean up some --help formatting. 5 жил өмнө
mkswap.c d588ba7443 Improve help consistency. 5 жил өмнө
modinfo.c e6b3ac496f modinfo: various fixes. 4 жил өмнө
mountpoint.c a7a3c411fd mountpoint: add missing synopsis. 5 жил өмнө
nbd_client.c a57721d146 bind/connect cleanup. 5 жил өмнө
nsenter.c eee419c1d7 flags.h can #define its own CLEANUP_ macros for the next #include 2 жил өмнө
oneit.c 53b2daab94 Use flag macros and document -rn options. 3 жил өмнө
openvt.c cfea8f012d Cleanup openvt/deallocvt and merge with chvt, promote out of pending. 2 жил өмнө
partprobe.c f71abed76b Promote partprobe. 10 жил өмнө
pivot_root.c 61cb6ab6b9 Move #include <sys/syscall.h> into toys.h. 2 жил өмнө
pmap.c 1ea6e127d5 Minor cleanups. 2 жил өмнө
printenv.c 0ea04980e3 Fix printenv -0 (broken by the lib/args.c 0 prefix change). 3 жил өмнө
pwdx.c 46409d50e5 Add readlink0() and readlinkat0() which null terminate the data. 8 жил өмнө
pwgen.c 25fd949e51 Have -B remove more characters Ted Tso's implementation doesn't emit. 2 жил өмнө
readahead.c 61cb6ab6b9 Move #include <sys/syscall.h> into toys.h. 2 жил өмнө
readelf.c b024b85151 readelf: fix 32-bit build on Android. 3 жил өмнө
readlink.c fb3c28fe89 realpath should parse -e 2 жил өмнө
reboot.c 81859b8a57 timeout: use the monotonic clock. 2 жил өмнө
reset.c c3f3f842c5 Replace \033 with \e in strings. 2 жил өмнө
rev.c b30674681b Start replacing get_line() with getline(). 5 жил өмнө
rmmod.c 61cb6ab6b9 Move #include <sys/syscall.h> into toys.h. 2 жил өмнө
rtcwake.c 29229bf0fd rtcwake: default to UTC if /etc/adjtime can't be read 3 жил өмнө
setfattr.c 12a0b40d09 Promote setfattr 6 жил өмнө
setsid.c 9cacde056c setsid(1): call setsid(2) before setpgrp(2). 3 жил өмнө
sha3sum.c 7ea411beed Switch sha3sum on in defconfig, and document -b (it's same as sha2sum). 3 жил өмнө
shred.c 2185571e9d Update usage: line to include remaining options. 3 жил өмнө
stat.c 1f9e37e361 Remove ifdefs from stat. 3 жил өмнө
swapoff.c 1dd3704c5f To ensure that toybox can be installed alongside busybox without 9 жил өмнө
swapon.c 6a73e13d75 Convert more option vars to the new (single letter) coding style. 5 жил өмнө
switch_root.c 039d59d227 Replace various x = x declarations with QUIET macro to shut up gcc. 2 жил өмнө
sysctl.c 46d2cda500 Tweak help_exit() to show "See %s --help" message on the same line. 6 жил өмнө
tac.c b14b5d9d8d Rewrite tac to make better use of lib functions. 5 жил өмнө
taskset.c 61cb6ab6b9 Move #include <sys/syscall.h> into toys.h. 2 жил өмнө
timeout.c 73f5ecd772 Create the timer after installing the SIGALRM handler. 2 жил өмнө
truncate.c 1ea6e127d5 Minor cleanups. 2 жил өмнө
uclampset.c 61cb6ab6b9 Move #include <sys/syscall.h> into toys.h. 2 жил өмнө
uptime.c ab833461a0 Add load average to uptime -p. 2 жил өмнө
usleep.c 7aa651a6a4 Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style. 11 жил өмнө
uuidgen.c 828fc9c8be Promote uuidgen. 6 жил өмнө
vconfig.c 8f6554366b Minor tweaks. 5 жил өмнө
vmstat.c c0b79b6e42 vmstat: increase column sizes 4 жил өмнө
w.c 46ddf0e34b probe for getspnam(), forkpty(), utmpx, replace sethostname() 9 жил өмнө
watch.c 039d59d227 Replace various x = x declarations with QUIET macro to shut up gcc. 2 жил өмнө
watchdog.c 664c417af5 Add lots of "static" annotations, make a couple things use FLAG() macros, etc. 3 жил өмнө
which.c 7aa651a6a4 Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style. 11 жил өмнө
xxd.c 0aeca08240 Fix unused variable warnings found by clang/llvm 13. 2 жил өмнө
yes.c 2c30d4f7a6 More line buffering. 3 жил өмнө

README

Other commands

These are commands not present in Posix or LSB.

Most of them are necessary to provide a development environment capable of
booting a system image and building Linux From Scratch under it.

Tested with Aboriginal Linux system image and the lfs-bootstrap.hdc automated
build control image for Linux From Scratch 6.8):

http://landley.net/aboriginal

http://landley.net/aboriginal/control-images