aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-07-21Added 'renice' command, thanks to Dave Cinege <dcinege@psychosis.com>Eric Andersen
-Erik
2000-07-21Bump version number.Eric Andersen
-Erik
2000-07-21Add in the LinuxMagic VPN FirewallEric Andersen
-Erik
2000-07-21Fixed usage info for "cut"Pavel Roskin
2000-07-20Took -V out of the sed_usage string.Mark Whitley
2000-07-20* syslogd can now log messages to a remote host -- patch thanksEric Andersen
to Gyepi Sam <gyepi@praxis-sw.com> -Erik
2000-07-20As per a discussion on the mailing list between Matt and Pavel. I have removedMark Whitley
the -V (version) flag from busybox sed. It is unnecessary because sed is not a standalone and should therefore be independently reporting a version number. Moreover, it is extra code that we just don't need.
2000-07-20Converted option parsing to getopt(). Also added some explanatory comments.Mark Whitley
2000-07-20Adjusted install.sh to use relative symlinks, and to optionallyEric Andersen
create hardlinks. Added a makefile target to create hardlinks. -Erik
2000-07-20Converted option parsing to using getopt(). Also managed to remove anMark Whitley
extraneous logic loop that existed only for the purpose of the special case of only one file. I replaced it with a variable to keep track of the number of files read.
2000-07-20Whoops. Forgot to #include <getopt.h>.Mark Whitley
2000-07-19Converted option parsing to getopt() and made some minor formatting changes.Mark Whitley
2000-07-19Centralize handling of --help.Matt Kraai
2000-07-19Added some missing declarations and fixed some typos. I have toMatt Kraai
remember to compile *before* committing.
2000-07-19Add usage messages for applets without them.Matt Kraai
2000-07-19Avoid trying to free NULL ptrs. Comment on malloc usages.Eric Andersen
-Erik
2000-07-19Use FatalError()Eric Andersen
-Erik
2000-07-19Moved some code and add a coupld #defines to support use of dmalloc.Eric Andersen
-Erik
2000-07-19Funny. Head was getting installed to the wrong spot.Eric Andersen
-Erik
2000-07-19Updated to add support for dmalloc, and adjusted for better crossEric Andersen
compiler support. -Erik
2000-07-18Consolodated some common code into print_matched_line to make 'grep_file' aMark Whitley
little more terse & clean. Also made a few minor formatting changes.
2000-07-18Removed now incorrect message about NFS not working withEric Andersen
Linux 2.[34].x kernels. It does work now, -Erik
2000-07-18Added support for the -c (count matches) option. Made it so it works just likeMark Whitley
GNU grep.
2000-07-18Sigh -- can't sleep. Clean up some mem leaks, fixed some bugs.Eric Andersen
-Erik
2000-07-17New message added to messages.c: full_versionPavel Roskin
Used where possible
2000-07-17Moved functions used by "lsmod" from cat.c to utility.cPavel Roskin
Adjusted to make lsmod and sh compilable as standalone apps. Comment fixes
2000-07-17 - Added support for backreferences in substitution expressions up to nineMark Whitley
(\1, \2...\9). This touched a lot of places in this file and I added a new function 'print_subst_w_backrefs' in order to keep 'do_subst_command' a little more tidy. * I tested this good 'n hard, but will always appreciate more testing from other, willing folks. - Noticed that the index_of_next_unescaped_slash was subtly wrong so I changed both the functionality and behavior (it used to skip over the first char in the string you passed it, assuming it was a leading '/'--this assumption is no longer made) this necessitated changing the lines that call this function just slightly.
2000-07-17Now it's possible to compile Busybox with only one app definedPavel Roskin
(unless it's lsmod, to be fixed by the next commit)
2000-07-17Backtick support to infinite (memory limited) levels of nesting isEric Andersen
now implemented... So now busybox shell can do cool stuff like: /home/andersen/CVS/busybox # echo foo `wc README` bar foo 71 422 2951 README bar I love writing cool new features.... Muhahahaha... (I think this is leaking a little bit of memory every time it expands a backtick process, so I still needs to do a bit of cleanup...) -Erik
2000-07-17It is now possible to select in busybox.def.h whether minixfs version 2Pavel Roskin
is to be supported.
2000-07-17The result of getopt() is "int" and should be treated as suchPavel Roskin
2000-07-16Extract usage information into a separate file.Matt Kraai
2000-07-14Don't use strings directly in calls to usage(). This is in preparationMatt Kraai
for their extraction to a separate file.
2000-07-14Fixed a couple of buglets:Mark Whitley
- add_cmd_str: segv's were being generated if there was a '# comment' line (and probably other kinds of lines, too) that was not followed by a semi-colon or whitespace - parse_edit_cmd: was returning a wrong number (too low) for the index; it was not accounting for backslashes eaten, for the fact that we start at the 3rd index in the string, or for the fact that we add an extra newline. - parse_cmd_str: was returning a wrong number (again, too low) for the index in the case of single-letter commands (p,d). There was some over-compensation for this in the 'return' stmt at the end which also needed some help. - load_cmd_file: was not eating trailing newlines off the line read from the command file. This had the deleterious effect of printing an extra newlines after text displayed from edit (i,a,c) commands.
2000-07-14 - Added support for semicolon delimited command lines. (woo-hoo!)Mark Whitley
- Obsoleted the trim_str function (#if 0'ed out -- maybedelete later) in favor of strrspn. - Obsoleted the strrspn function (#if 0'ed out as well) as soon as I discovered that it wasn't needed either. - Fixed a subtle bug in parse_subst_cmd where it would choke with an error if there was any trailing space after the s/match/replace/ expression.
2000-07-14Getopt'ed by Marc Nijdam <marc_nijdam@hp.com>Eric Andersen
-Erik
2000-07-14Getopt'rd by Marc Nijdam <marc_nijdam@hp.com>Eric Andersen
-Erik
2000-07-14More fixes for "signed vs. unsigned" warnings.Pavel Roskin
2000-07-14Reduced the number of "signed vs. unsigned" warnings.Pavel Roskin
Sometimes such warnings matter (esp. on PPC with char default to unsigned)
2000-07-14More fixes for "missing initializers"Pavel Roskin
2000-07-14Fixed a warning about missing initializerPavel Roskin
2000-07-14The result of getopt() should not be converted to "char" - it breaks on PPCPavel Roskin
2000-07-14More cleanups.Eric Andersen
-Erik
2000-07-14Fix argument parsing.Matt Kraai
2000-07-14Be more pedantic aboutthe terminating null applet.Eric Andersen
-Erik
2000-07-14uid and gid were unsigned, but were compared vs signed values (-1)Eric Andersen
-Erik
2000-07-14A couple of minor warning cleanups.Eric Andersen
-Erik
2000-07-14Use errorMsg rather than fprintf.Matt Kraai
2000-07-14Fix some stupid memory bugs.Eric Andersen
-Erik
2000-07-14Add in redimentary backtick suport (doesn't work properly yet, but isEric Andersen
close). -Erik