Age | Commit message (Collapse) | Author | |
---|---|---|---|
2000-07-20 | Converted option parsing to getopt(). Also added some explanatory comments. | Mark Whitley | |
2000-07-20 | Adjusted install.sh to use relative symlinks, and to optionally | Eric Andersen | |
create hardlinks. Added a makefile target to create hardlinks. -Erik | |||
2000-07-20 | Converted option parsing to using getopt(). Also managed to remove an | Mark 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-20 | Whoops. Forgot to #include <getopt.h>. | Mark Whitley | |
2000-07-19 | Converted option parsing to getopt() and made some minor formatting changes. | Mark Whitley | |
2000-07-19 | Centralize handling of --help. | Matt Kraai | |
2000-07-19 | Added some missing declarations and fixed some typos. I have to | Matt Kraai | |
remember to compile *before* committing. | |||
2000-07-19 | Add usage messages for applets without them. | Matt Kraai | |
2000-07-19 | Avoid trying to free NULL ptrs. Comment on malloc usages. | Eric Andersen | |
-Erik | |||
2000-07-19 | Use FatalError() | Eric Andersen | |
-Erik | |||
2000-07-19 | Moved some code and add a coupld #defines to support use of dmalloc. | Eric Andersen | |
-Erik | |||
2000-07-19 | Funny. Head was getting installed to the wrong spot. | Eric Andersen | |
-Erik | |||
2000-07-19 | Updated to add support for dmalloc, and adjusted for better cross | Eric Andersen | |
compiler support. -Erik | |||
2000-07-18 | Consolodated some common code into print_matched_line to make 'grep_file' a | Mark Whitley | |
little more terse & clean. Also made a few minor formatting changes. | |||
2000-07-18 | Removed now incorrect message about NFS not working with | Eric Andersen | |
Linux 2.[34].x kernels. It does work now, -Erik | |||
2000-07-18 | Added support for the -c (count matches) option. Made it so it works just like | Mark Whitley | |
GNU grep. | |||
2000-07-18 | Sigh -- can't sleep. Clean up some mem leaks, fixed some bugs. | Eric Andersen | |
-Erik | |||
2000-07-17 | New message added to messages.c: full_version | Pavel Roskin | |
Used where possible | |||
2000-07-17 | Moved functions used by "lsmod" from cat.c to utility.c | Pavel 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 nine | Mark 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-17 | Now it's possible to compile Busybox with only one app defined | Pavel Roskin | |
(unless it's lsmod, to be fixed by the next commit) | |||
2000-07-17 | Backtick support to infinite (memory limited) levels of nesting is | Eric 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-17 | It is now possible to select in busybox.def.h whether minixfs version 2 | Pavel Roskin | |
is to be supported. | |||
2000-07-17 | The result of getopt() is "int" and should be treated as such | Pavel Roskin | |
2000-07-16 | Extract usage information into a separate file. | Matt Kraai | |
2000-07-14 | Don't use strings directly in calls to usage(). This is in preparation | Matt Kraai | |
for their extraction to a separate file. | |||
2000-07-14 | Fixed 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-14 | Getopt'ed by Marc Nijdam <marc_nijdam@hp.com> | Eric Andersen | |
-Erik | |||
2000-07-14 | Getopt'rd by Marc Nijdam <marc_nijdam@hp.com> | Eric Andersen | |
-Erik | |||
2000-07-14 | More fixes for "signed vs. unsigned" warnings. | Pavel Roskin | |
2000-07-14 | Reduced the number of "signed vs. unsigned" warnings. | Pavel Roskin | |
Sometimes such warnings matter (esp. on PPC with char default to unsigned) | |||
2000-07-14 | More fixes for "missing initializers" | Pavel Roskin | |
2000-07-14 | Fixed a warning about missing initializer | Pavel Roskin | |
2000-07-14 | The result of getopt() should not be converted to "char" - it breaks on PPC | Pavel Roskin | |
2000-07-14 | More cleanups. | Eric Andersen | |
-Erik | |||
2000-07-14 | Fix argument parsing. | Matt Kraai | |
2000-07-14 | Be more pedantic aboutthe terminating null applet. | Eric Andersen | |
-Erik | |||
2000-07-14 | uid and gid were unsigned, but were compared vs signed values (-1) | Eric Andersen | |
-Erik | |||
2000-07-14 | A couple of minor warning cleanups. | Eric Andersen | |
-Erik | |||
2000-07-14 | Use errorMsg rather than fprintf. | Matt Kraai | |
2000-07-14 | Fix some stupid memory bugs. | Eric Andersen | |
-Erik | |||
2000-07-14 | Add in redimentary backtick suport (doesn't work properly yet, but is | Eric Andersen | |
close). -Erik | |||
2000-07-14 | It dawned on me that I would need to grow a char buffer one extra char bigger | Mark Whitley | |
to accomodate a trailing '\n'ewline that I append to it later one. This is only necessary for the case of one inserted, appended, or changed line, but it's still necessary. | |||
2000-07-14 | Added error checking for edit commands; only a beginning address can be | Mark Whitley | |
specified. | |||
2000-07-14 | Added support for (a)ppend, (i)nsert, and (c)hange commands to sed. | Mark Whitley | |
2000-07-13 | Fixed bug where sed '/foo/p' was printing "invalid command". | Mark Whitley | |
2000-07-13 | (Something I should have done in the previous checkin...) Also broke out | Mark Whitley | |
substitution command execution from do_sed_command() and put it in it's own do_subst_command() function. | |||
2000-07-13 | Minor code reorg: Changed the interface to index_of_next_unescaped_slash to an | Mark Whitley | |
interface that seems a little more sensible to me. Also broke out s/// expression parsing into it's own subroutine. | |||
2000-07-13 | Fix uninitialized variable. | Eric Andersen | |
-Erik |