aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Make more robust (patch by Larry Doolittle).Matt Kraai2001-05-231-5/+11
|
* It turns out the descriptions of both dos2unix and unix2dosEric Andersen2001-05-223-12/+12
| | | | | were broken. This fixes. -Erik
* Excellent. This patch from Larry fixes the behavior of hushEric Andersen2001-05-222-2/+6
| | | | when builtins are included in pipes.
* Fix this case. No, really this time.Eric Andersen2001-05-222-92/+122
| | | | | | | | | unset FOO export FOO=bar FOO=baz echo "global env: " `env | grep ^FOO` echo "local env: " `set | grep ^FOO` -Erik
* Fix a race. Sometimes by the time we got to checkjobs(), theEric Andersen2001-05-222-24/+54
| | | | | pipe struct had already been freed. Return immediately if the pipe is NULL.
* Oops. Remove some debug noise I left in.Eric Andersen2001-05-222-10/+2
|
* Updates from both Vladimir and LarryEric Andersen2001-05-222-128/+178
|
* Fixed misnamed rewind command (noted by Tom Oehser).Matt Kraai2001-05-222-2/+2
|
* Fixed extra -- lines (noted by Christophe Boyanique).Matt Kraai2001-05-222-2/+4
|
* Make - read compressed data from stdin (thanks to Marius Groeger).Matt Kraai2001-05-222-2/+2
|
* Correctly remove leading slashes upon extraction (thanks to Marius Groeger).Matt Kraai2001-05-222-2/+2
|
* Fixed mishandling of -c & -l options and accounted for case when we'reMark Whitley2001-05-212-14/+32
| | | | grepping only one file.
* Patch from Lars Kellogg-Stedman <lars@larsshack.org> to fix bugEric Andersen2001-05-2114-63/+62
| | | | #1130 (i.e. When you turn on features it should always ADD features)
* A couple more minor touchupsEric Andersen2001-05-213-9/+9
|
* Several cleanups for usage messagesEric Andersen2001-05-213-120/+132
|
* Fix tell support.Matt Kraai2001-05-212-4/+26
|
* The latest patch from LarryEric Andersen2001-05-212-62/+122
|
* This patch from Bernhard Kuhn <kuhn@lpr.e-technik.tu-muenchen.de> is based onEric Andersen2001-05-213-14/+310
| | | | | the work of Jinux Kim on his "babobox" (derived from busybox-0.42), and enables kernel module loading and unloading for uClinux/m68k.
* Patch from Gernot Poerner <gp@it-netservice.de>. Adds inEric Andersen2001-05-215-3/+10
| | | | mount bind support.
* Fix open mode for IOCTLs which write to the tape.Matt Kraai2001-05-212-4/+30
|
* This is a patch from Vladimir:Eric Andersen2001-05-192-396/+368
| | | | | | | | | | | | | | | | | | | | | | | | | > I rewrite *local_variable* function in hush.c with: > 1) remove many memory leaks > 2) add support read_only protect (require write builtin function for set this, > I write this special for variable HUSH_VERION=0.01) > 3) commad read set only local variable now > 4) remove many error messages if "set unset export" not defined variable > (bash syntax not put and set error code). Hmm, if I set result to -1, you hush > called waitpid and returned with error "no waitpid" ( i not found place this > error). > 5) destroy error in new version check xgetcwd()==NULL and set "(unknow)" - > this have error: crashe in next call `pwd`, but xgetcwd(not null) called > free(arg). > 6) next add integraion with libbb Valdimir's patch missed two cases of local variable handling FOO=bar export FOO=baz unset FOO and export FOO=bar FOO=baz which were working before, so I fixed those two cases.
* Fix an escape problem in the docs. Some \n's didn't have the '\'Eric Andersen2001-05-183-6/+6
| | | | | escaped, and so were messsing the out output. -Erik
* (Almost) brand-new version of cut that supports muitiple lists of positions,Mark Whitley2001-05-182-218/+462
| | | | per feature request from Tom Oehser.
* Changed snprintf copies to use strncpy at the suggestion of Aaron Lehmann.Matt Kraai2001-05-182-16/+16
|
* Rewrote copyfd to use library functions, terminate, and copy correct data.Matt Kraai2001-05-183-26/+18
|
* Fix applet_name.Matt Kraai2001-05-172-0/+2
|
* Switch from hstrerror to herror for libc5 systems.Matt Kraai2001-05-171-3/+2
|
* Remove unused function. If necessary, we can use remove_file instead.Matt Kraai2001-05-172-62/+0
|
* Fix invocation of builtin shell to have proper argc and argv.Matt Kraai2001-05-172-2/+6
|
* Always print a newline after a matching substitution.Matt Kraai2001-05-172-12/+2
|
* It turns out job control in both hush and lash was broken by theEric Andersen2001-05-174-20/+52
| | | | | | signal handling in cmdedit.c. Disabling it makes the shells behave themselves again. hush isn't quite there, but is getting close... -Erik
* Remove/replace the "div" call.Eric Andersen2001-05-162-10/+14
|
* Add missing include, noted by Larry Doolittle.Matt Kraai2001-05-161-0/+2
|
* Whoops. Forgot the x.Matt Kraai2001-05-162-4/+4
|
* Add xgethostbyname and herror_msg* functions.Matt Kraai2001-05-1625-96/+236
|
* Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.cMatt Kraai2001-05-1622-36/+36
| | | | by Larry Doolittle.
* Move init of a bunch of globals into main so we are at leastEric Andersen2001-05-162-14/+32
| | | | | a bit more reentrant. -Erik
* Fix the behavior of local shell variables to match that of bash and ash.Eric Andersen2001-05-152-50/+218
| | | | -Erik
* Suggestion from Larry: no format string, use fputs instead.Eric Andersen2001-05-152-4/+4
|
* Patch from Adam Heath <doogie@debian.org> to add arbitrary header supportEric Andersen2001-05-155-9/+79
| | | | to wget, so it can now do funky interactive things with cgi scripts.
* This patch from Adam Heath <doogie@debian.org>, makes print_fileEric Andersen2001-05-155-6/+72
| | | | (used by cat, grep, sed, etc) quite a bit faster.
* Patch from Vladimir:Eric Andersen2001-05-1512-68/+70
| | | | | | | 1) fixed a bug that could crash df, mount, and umount applets if the root device name was longer then the word "root" (/dev/loop1 vs /dev/root) - 2) severl functions needed static declaration in the umount applet 3) update declaration for function in last_char_is() in libbb
* Oops. I left in some debug noise.Eric Andersen2001-05-152-2/+0
|
* Write set_local_var() and fixup lookup_param() so you can now useEric Andersen2001-05-152-8/+202
| | | | | shell local variables. -Erik
* This patch covers one big part of variable handling.Eric Andersen2001-05-152-10/+98
| | | | | | | | | | | | | | | $ a=b foo should be handled correctly. $ a=b is parsed OK, but the actual variable setting is not yet written. Except for some weird exceptions related to quoting rules, this code passes (matches ash behavior) all the tests I threw at it. If someone now writes set_local_var(), and updates lookup_param() to match, we can claim success! - Larry
* Fix incorrect length passed to accept noted by Larry Doolittle.Matt Kraai2001-05-152-2/+6
|
* Added some testcases for grep and sed (many more could still be added)Mark Whitley2001-05-141-0/+13
|
* ...Need to print just a few more newlines.Mark Whitley2001-05-142-4/+10
|
* A compromise solution for insmodEric Andersen2001-05-142-8/+30
|
* ...And now that we're chomping lines, we need to re-add the newline later...Mark Whitley2001-05-142-6/+6
|