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

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