hush (a Bourne-style shell) for the GNO multitasking environment on the Apple IIgs
Go to file
Eric Andersen e9f07fb6e8 Another sh.c patch from Larry Doolittle. This makes redirects work properly
with non-forking shell builtins.  Especially helpful for "read".  This patch
also beautifies builtin_fg_bg, clarifies the problems with
run_command_predicate, makes if/then/else support the default, and corrects the
sense of the BB_FEATURE_SH_ENVIRONMENT comment.
2000-12-21 18:31:36 +00:00
applets Rewrote dd. 2000-12-18 21:38:57 +00:00
archival Be sure to read from the given path, not the one used in the header. 2000-12-19 20:45:49 +00:00
console-tools Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
coreutils Turns out, md5sum was broken anyways. It uses backwards TRUE/FALSE 2000-12-20 23:19:42 +00:00
debian Bump the version number to 0.49pre 2000-12-20 23:22:29 +00:00
docs Some corrections, some additions, some embellishments. 2000-12-20 22:35:12 +00:00
editors Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
examples Bump the version number to 0.49pre 2000-12-20 23:22:29 +00:00
findutils Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
include Fix tar handling of absolute paths and excluded directories. 2000-12-19 06:24:08 +00:00
init A couple of updates to fix some minor cross compiling issues 2000-12-13 16:41:29 +00:00
libbb More portable handling of loop header files, as done in util-linux 2000-09-21 02:04:51 +00:00
miscutils Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
modutils Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
networking Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
procps Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
scripts Script updates for better portability 2000-12-12 16:49:12 +00:00
shell Another sh.c patch from Larry Doolittle. This makes redirects work properly 2000-12-21 18:31:36 +00:00
sysklogd Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
tests Test suite update from Larry Doolittle to disable some problematic 2000-12-11 17:33:08 +00:00
util-linux Make more things be static (like they are supposed to be). 2000-12-20 23:40:57 +00:00
.cvsignore Ignore loop.h 2000-09-21 02:05:43 +00:00
.indent.pro First revision of the Busybox Style Guide and an accompanying .indent.pro 2000-07-24 22:36:06 +00:00
applets.h Patch from Larry Doolittle so it will build the newdocs right. 2000-12-02 00:44:48 +00:00
ar.c Rewrite, fix a bug with multiple long filenames, simplify structure, remove cruft, make code conform closer to style guide, saves 350 Bytes. 2000-12-15 06:50:09 +00:00
AUTHORS Add a few folks to Authors 2000-12-13 18:14:51 +00:00
basename.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
busybox.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
busybox.h Fix tar handling of absolute paths and excluded directories. 2000-12-19 06:24:08 +00:00
busybox.mkll Patch from Larry Doolittle so it will build the newdocs right. 2000-12-02 00:44:48 +00:00
busybox.sh Some compile fixes found by Larry Doolittle 2000-12-12 16:55:56 +00:00
busybox.spec Bump the version number to 0.49pre 2000-12-20 23:22:29 +00:00
cat.c Continue concatenating files even if we can't open one. 2000-09-27 03:01:40 +00:00
Changelog Bump the version number to 0.49pre 2000-12-20 23:22:29 +00:00
chmod_chown_chgrp.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
chroot.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
chvt.c Simplify error handling. 2000-12-14 05:44:36 +00:00
clear.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
cmdedit.c Ok, this is a pretty major update to sh.c. I renamed all the variables and 2000-12-18 20:25:50 +00:00
cmdedit.h Remove #ifdef __STDC__ junk. We don't do K&R round these parts, 2000-12-01 19:02:24 +00:00
cmp.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
Config.h Oops. Unmatched #if 2000-12-12 18:20:19 +00:00
Config.h.Hurd Re-worked the support for s///p, fixed a backref limit buglet, and cleaned up 2000-11-03 19:47:00 +00:00
cp_mv.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
cut.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
date.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
dc.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
dd.c Rewrote dd. 2000-12-18 21:38:57 +00:00
deallocvt.c Added some necessary brackets, removed debug noise. 2000-12-13 23:23:30 +00:00
define.sh + this is a small script for helping TargetWizard auto-generate 2000-02-23 18:17:35 +00:00
df.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
dirname.c Patch from Matt Kraai to fix 'dirname /' 2000-12-12 23:27:48 +00:00
dmesg.c Some little cleanups from Larry Doolittle 2000-12-09 16:41:42 +00:00
dos2unix.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
du.c du.c error msg cleanup from Kent Robotti 2000-12-12 23:17:26 +00:00
dumpkmap.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
dutmp.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
echo.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
expr.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
fbset.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
fdflush.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
find.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
free.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
freeramdisk.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
fsck_minix.c Fix from Gennady Feldman for error msg 2000-12-12 23:51:43 +00:00
getopt.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
grep.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
gunzip.c Support for tar -z option for uncompressing only 2000-12-10 01:57:30 +00:00
gzip.c Add GNU compatibile gzip -d 2000-12-13 17:55:11 +00:00
halt.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
head.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
hostid.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
hostname.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
id.c Fix from Matt Kraai -- a better way to NULL terminate strings for the 2000-12-13 01:52:39 +00:00
init.c A couple of updates to fix some minor cross compiling issues 2000-12-13 16:41:29 +00:00
insmod.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
install.sh Disabled debugging output 2000-07-28 19:34:02 +00:00
kill.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
lash.c Another sh.c patch from Larry Doolittle. This makes redirects work properly 2000-12-21 18:31:36 +00:00
length.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
LICENSE Fixed spelling of my name. Geez. 1999-12-11 23:25:59 +00:00
ln.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
loadacm.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
loadfont.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
loadkmap.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
logger.c Patch from larry doolittle to make sure we don't realloc 2000-12-11 20:29:13 +00:00
logname.c Fix from Matt Kraai -- a better way to NULL terminate strings for the 2000-12-13 01:52:39 +00:00
ls.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
lsmod.c Add missing newlines to error messages. 2000-12-18 03:08:29 +00:00
makedevs.c Renamed "internal.h" to the more sensible "busybox.h". 2000-09-25 21:45:58 +00:00
Makefile Bump the version number to 0.49pre 2000-12-20 23:22:29 +00:00
md5sum.c Turns out, md5sum was broken anyways. It uses backwards TRUE/FALSE 2000-12-20 23:19:42 +00:00
messages.c Grammer fix. Changed "longer then" to "longer than". Fix thanks to Jim 2000-11-14 22:15:48 +00:00
mk_loop_h.sh More portable handling of loop header files, as done in util-linux 2000-09-21 02:04:51 +00:00
mkdir.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
mkfifo.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
mkfs_minix.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
mknod.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
mkswap.c Make more things be static (like they are supposed to be). 2000-12-20 23:40:57 +00:00
mktemp.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
more.c Cleanup of duplicated symbols -- found by compiling with 2000-11-07 06:52:13 +00:00
mount.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
mt.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
mtab.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
nc.c Rewrite nc to be simpler, smaller, and to check syscalls for errors. 2000-12-15 22:34:34 +00:00
nfsmount.c NFS_PORT and NFS_FHSIZE are not defined in the kernel headers that come with libc6-2.2-5 2000-12-09 23:59:04 +00:00
nfsmount.h Remove #ifdef __STDC__ junk. We don't do K&R round these parts, 2000-12-01 19:02:24 +00:00
nslookup.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
ping.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
poweroff.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
printf.c Renamed "internal.h" to the more sensible "busybox.h". 2000-09-25 21:45:58 +00:00
ps.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
pwd.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
rdate.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
readlink.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
README A few more updates 2000-12-13 18:07:38 +00:00
real_loop.h More portable handling of loop header files, as done in util-linux 2000-09-21 02:04:51 +00:00
reboot.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
renice.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
reset.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
rm.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
rmdir.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
rmmod.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
rpmunpack.c Finish commit of rpmunpack and add in scripts for undeb and unrpm 2000-11-29 21:39:02 +00:00
sed.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
setkeycodes.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
sh.c Another sh.c patch from Larry Doolittle. This makes redirects work properly 2000-12-21 18:31:36 +00:00
sleep.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
sort.c Rewrote. 2000-12-20 20:49:56 +00:00
swaponoff.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
sync.c Renamed "internal.h" to the more sensible "busybox.h". 2000-09-25 21:45:58 +00:00
syslogd.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
tail.c Rewrote dd. 2000-12-18 21:38:57 +00:00
tar.c Be sure to read from the given path, not the one used in the header. 2000-12-19 20:45:49 +00:00
tee.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
telnet.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
test.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
TODO A few more updates 2000-12-13 18:07:38 +00:00
touch.c Add missing newlines to error messages. 2000-12-18 03:08:29 +00:00
tr.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
true_false.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
tty.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
umount.c Changed names of functions in utility.c and all affected files, to make 2000-12-07 19:56:48 +00:00
uname.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
uniq.c Patch from Matt Kraai to implement uniq -[cdu] 2000-12-09 16:37:53 +00:00
unix2dos.c Renamed "internal.h" to the more sensible "busybox.h". 2000-09-25 21:45:58 +00:00
update.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
uptime.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
usage.c Rewrote dd. 2000-12-18 21:38:57 +00:00
usleep.c Stop using TRUE and FALSE for exit status. 2000-12-01 02:55:13 +00:00
utility.c Fix tar handling of absolute paths and excluded directories. 2000-12-19 06:24:08 +00:00
uudecode.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
uuencode.c Change calls to error_msg.* and strerror to use perror_msg.*. 2000-12-18 03:57:16 +00:00
wc.c Patch from Matt Kraai so wc will return a proper error code 2000-10-09 18:21:44 +00:00
wget.c Add missing newlines to error messages. 2000-12-18 03:08:29 +00:00
which.c Fixed return status (thanks to David Douthitt for the fix). 2000-11-18 01:16:43 +00:00
whoami.c Fix from Matt Kraai -- a better way to NULL terminate strings for the 2000-12-13 01:52:39 +00:00
xargs.c Brand new version of xargs. Tested thoroughly by Kent Robotti. (Domo arigato, 2000-11-14 22:43:21 +00:00
yes.c Renamed "internal.h" to the more sensible "busybox.h". 2000-09-25 21:45:58 +00:00

Please see the LICENSE file for copyright information.
    
BusyBox combines tiny versions of many common UNIX utilities into a single
small executable. It provides minimalist replacements for most of the utilities
you usually find in fileutils, shellutils, findutils, textutils, grep, gzip,
tar, etc. BusyBox provides a fairly complete POSIX environment for any small or
embedded system. The utilities in BusyBox generally have fewer options than
their full featured GNU cousins; however, the options that are included provide
the expected functionality and behave very much like their GNU counterparts.

BusyBox has been written with size-optimization and limited resources in mind.
It is also extremely modular so you can easily include or exclude commands (or
features) at compile time. This makes it easy to customize your embedded
systems. To create a working system, just add a kernel and an editor (such as
e3 (http://www.sax.de/~adlibiti) or elvis-tiny).

BusyBox was originally written to support the Debian Rescue/Install disks, but
it also makes an excellent environment for any small or embedded system.

As of version 0.20 there is now a version number. : ) Also as of version 0.20,
BusyBox is now modularized to easily allow you to build only the components you
need, thereby reducing binary size. To turn off unwanted BusyBox components,
simply edit the file "Config.h" and comment out the components you do not need
using C++ style (//) comments.

After the build is complete, a busybox.links file is generated.  This is
used by 'make install' to create symlinks to the busybox binary for all
compiled in functions.  By default, 'make install' will place the symlink
forest into `pwd`/_install unless you have defined the PREFIX environment
variable (i.e., make PREFIX="/tmp/foo" install)

----------------

Getting help:

When you find you need help, you can check out the BusyBox mailing list
archives at http://opensource.lineo.com/lists/busybox/ or even join
the mailing list if you are interested.

----------------

Bugs:

If you find bugs, please submit a bug report.  Full instructions on how to
report a bug are found at http://bugs.lineo.com/Reporting.html.

For the impatient: To submit a bug, simply send an email describing the problem
to submit@bugs.lineo.com.  Bug reports should look something like this:

    To: submit@bugs.lineo.com
    From: diligent@testing.linux.org
    Subject: /bin/true doesn't work

    Package: busybox
    Version: 0.48

    When I invoke '/bin/true' it doesn't work.  I expected it to return 
    a "0" but it returned a "1" instead.  Here is the transcript:
	$ /bin/true ; echo $?
	1
    With GNU /bin/true, I get the following output:
	$ /bin/true ; echo $?
	0
    I am using Debian 2.2r2, kernel version 2.2.18, and the latest
    uClibc from CVS.  Thanks for the wonderful program!
	-Diligent

Note the careful description and use of examples showing not only what BusyBox
does, but also a counter example showing what an equivalent GNU app does.  Bug
reports lacking such detail may take a _long_ time to be fixed...  Thanks for
understanding.

----------------

FTP:

Source for the latest released version can always be downloaded from 
    ftp://ftp.lineo.com/pub/busybox. 

----------------

CVS:

BusyBox now has its own publicly browsable CVS tree at:
    http://opensource.lineo.com/cgi-bin/cvsweb/busybox/

Anonymous CVS access is available.  For instructions, check out:
    http://opensource.lineo.com/cvs_anon.html

For those that are actively contributing there is even CVS write access:
    http://opensource.lineo.com/cvs_write.html

----------------

Please feed suggestions, bug reports, insults, and bribes back to:
	Erik Andersen 
	<andersen@lineo.com>
	<andersee@debian.org>

<blatant plug>
Many thanks to go to Lineo for paying me to work on busybox. 
</blatant plug>