aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-05-22It turns out the descriptions of both dos2unix and unix2dosEric Andersen
were broken. This fixes. -Erik
2001-05-22Excellent. This patch from Larry fixes the behavior of hushEric Andersen
when builtins are included in pipes.
2001-05-22Fix this case. No, really this time.Eric Andersen
unset FOO export FOO=bar FOO=baz echo "global env: " `env | grep ^FOO` echo "local env: " `set | grep ^FOO` -Erik
2001-05-22Fix a race. Sometimes by the time we got to checkjobs(), theEric Andersen
pipe struct had already been freed. Return immediately if the pipe is NULL.
2001-05-22Oops. Remove some debug noise I left in.Eric Andersen
2001-05-22Updates from both Vladimir and LarryEric Andersen
2001-05-22Fixed misnamed rewind command (noted by Tom Oehser).Matt Kraai
2001-05-22Fixed extra -- lines (noted by Christophe Boyanique).Matt Kraai
2001-05-22Make - read compressed data from stdin (thanks to Marius Groeger).Matt Kraai
2001-05-22Correctly remove leading slashes upon extraction (thanks to Marius Groeger).Matt Kraai
2001-05-21Fixed mishandling of -c & -l options and accounted for case when we'reMark Whitley
grepping only one file.
2001-05-21Patch from Lars Kellogg-Stedman <lars@larsshack.org> to fix bugEric Andersen
#1130 (i.e. When you turn on features it should always ADD features)
2001-05-21A couple more minor touchupsEric Andersen
2001-05-21Several cleanups for usage messagesEric Andersen
2001-05-21Fix tell support.Matt Kraai
2001-05-21The latest patch from LarryEric Andersen
2001-05-21This patch from Bernhard Kuhn <kuhn@lpr.e-technik.tu-muenchen.de> is based onEric Andersen
the work of Jinux Kim on his "babobox" (derived from busybox-0.42), and enables kernel module loading and unloading for uClinux/m68k.
2001-05-21Patch from Gernot Poerner <gp@it-netservice.de>. Adds inEric Andersen
mount bind support.
2001-05-21Fix open mode for IOCTLs which write to the tape.Matt Kraai
2001-05-19This is a patch from Vladimir:Eric Andersen
> 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.
2001-05-18Fix an escape problem in the docs. Some \n's didn't have the '\'Eric Andersen
escaped, and so were messsing the out output. -Erik
2001-05-18(Almost) brand-new version of cut that supports muitiple lists of positions,Mark Whitley
per feature request from Tom Oehser.
2001-05-18Changed snprintf copies to use strncpy at the suggestion of Aaron Lehmann.Matt Kraai
2001-05-18Rewrote copyfd to use library functions, terminate, and copy correct data.Matt Kraai
2001-05-17Fix applet_name.Matt Kraai
2001-05-17Switch from hstrerror to herror for libc5 systems.Matt Kraai
2001-05-17Remove unused function. If necessary, we can use remove_file instead.Matt Kraai
2001-05-17Fix invocation of builtin shell to have proper argc and argv.Matt Kraai
2001-05-17Always print a newline after a matching substitution.Matt Kraai
2001-05-17It turns out job control in both hush and lash was broken by theEric Andersen
signal handling in cmdedit.c. Disabling it makes the shells behave themselves again. hush isn't quite there, but is getting close... -Erik
2001-05-16Remove/replace the "div" call.Eric Andersen
2001-05-16Add missing include, noted by Larry Doolittle.Matt Kraai
2001-05-16Whoops. Forgot the x.Matt Kraai
2001-05-16Add xgethostbyname and herror_msg* functions.Matt Kraai
2001-05-16Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.cMatt Kraai
by Larry Doolittle.
2001-05-16Move init of a bunch of globals into main so we are at leastEric Andersen
a bit more reentrant. -Erik
2001-05-15Fix the behavior of local shell variables to match that of bash and ash.Eric Andersen
-Erik
2001-05-15Suggestion from Larry: no format string, use fputs instead.Eric Andersen
2001-05-15Patch from Adam Heath <doogie@debian.org> to add arbitrary header supportEric Andersen
to wget, so it can now do funky interactive things with cgi scripts.
2001-05-15This patch from Adam Heath <doogie@debian.org>, makes print_fileEric Andersen
(used by cat, grep, sed, etc) quite a bit faster.
2001-05-15Patch from Vladimir:Eric Andersen
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
2001-05-15Oops. I left in some debug noise.Eric Andersen
2001-05-15Write set_local_var() and fixup lookup_param() so you can now useEric Andersen
shell local variables. -Erik
2001-05-15This patch covers one big part of variable handling.Eric Andersen
$ 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
2001-05-15Fix incorrect length passed to accept noted by Larry Doolittle.Matt Kraai
2001-05-14Added some testcases for grep and sed (many more could still be added)Mark Whitley
2001-05-14...Need to print just a few more newlines.Mark Whitley
2001-05-14A compromise solution for insmodEric Andersen
2001-05-14...And now that we're chomping lines, we need to re-add the newline later...Mark Whitley
2001-05-14We will chomp() lines so REG_NEWLINE does not break stuff. Thanks, Matt.Mark Whitley