toybox
Access common command line utilities
Runs on:
QNX OS
Description:
The toybox package combines many common command line utilities together into a single, BSD-licensed executable.
The following toybox commands are supported: ascii, base64, basename, bc, bunzip2, bzcat, cal, cat, chgrp, chmod, chown, cksum, clear, cmp, comm, cp, cpio, crc32, cut, date, dd, diff, dirname, dos2unix, du, echo, egrep, env, expand, expr, false, fgrep, file, find, grep, groups, gunzip, gzip, head, id, install, link, ln, logname, ls, md5sum, mkdir, mkfifo mktemp, more, mv, nl, nohup, od, paste, patch, printenv, printf, pwd, readlink, realpath, rm, rmdir, sed, seq, sha1sum, sleep, sort, split, stat, strings, tail, tar, tee, test, time, timeout, touch, true, truncate, tty, uname, uniq, unix2dos, unlink, uudecode, uuencode, uuidgen, wc, which, whoami, xargs, xxd, yes, zcat.
Use one of the following commands to access help for a toybox command:
toybox command_name --help
command_name --help
To enable toybox, add the following line to the appropriate buildfile (for buildfile details, go to: mkefs, mkifs, mkqfs, mkxfs (and the utilities it implements):
path/to/toybox=usr/bin/toybox
Also add a link for each toybox command you want to enable. QNX recommends that you use a hard link, if the filesystem supports it:
[type=hlink] path/to/command_name=/path/to/toybox
Use the following format if you need to use a symlink or process manager symlink (e.g., an IFS):
[type=link] path/to/command_name=toybox
Documentation
The toybox documentation provided by Rob Landley includes a product overview and a command reference:
Contributing author:
Rob Landley