aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Better descriptionandersen2000-07-261-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@909 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix some bitrot.andersen2000-07-262-14/+14
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@908 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Modified print_subst_w_backrefs() so it will print backslash escapedmarkw2000-07-252-0/+12
| | | | | | | characters properly, just like GNU sed. git-svn-id: svn://busybox.net/trunk/busybox@907 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added a note in the "Tips and Pointer" section on the correct way to test formarkw2000-07-251-0/+17
| | | | | | | string equivalence with strcmp(). git-svn-id: svn://busybox.net/trunk/busybox@906 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Finish off fixing up the memleaks (I think). Added the beginnings ofandersen2000-07-253-114/+369
| | | | | | | | some if-then-else-fi support (nonfunctional and turned off) -Erik git-svn-id: svn://busybox.net/trunk/busybox@905 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use BB_FEATURE_CLEAN_UP where appropriateandersen2000-07-2512-14/+48
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@904 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in BB_FEATURE_CLEAN_UP, which is whether to clean up mem leaks and closeandersen2000-07-251-0/+4
| | | | | | | | files, or not. Usually safe to leave it off and let the OS clean up... -Erik git-svn-id: svn://busybox.net/trunk/busybox@903 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove some noise.andersen2000-07-252-54/+0
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@902 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Clean up $1=$prefixandersen2000-07-252-10/+10
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@901 69ca8d6d-28ef-0310-b511-8ec308f3f277
* First revision of the Busybox Style Guide and an accompanying .indent.promarkw2000-07-242-0/+257
| | | | | | | file. git-svn-id: svn://busybox.net/trunk/busybox@900 69ca8d6d-28ef-0310-b511-8ec308f3f277
* chroot can now call the builtin shellproski2000-07-243-0/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@899 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed stdin/stdout paths so things likeandersen2000-07-214-22/+70
| | | | | | | | | | tar cvf - /etc/* | gzip -c9 >test.tgz will now work. Fix thanks to Dave Cinege <dcinege@psychosis.com> with some adjustments by me to be mroe GNU-like. -Erik git-svn-id: svn://busybox.net/trunk/busybox@898 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added 'renice' command, thanks to Dave Cinege <dcinege@psychosis.com>andersen2000-07-2111-5/+171
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@897 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bump version number.andersen2000-07-215-5/+11
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@896 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in the LinuxMagic VPN Firewallandersen2000-07-211-0/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@893 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed usage info for "cut"proski2000-07-214-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@892 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Took -V out of the sed_usage string.markw2000-07-202-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@891 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * syslogd can now log messages to a remote host -- patch thanksandersen2000-07-209-3/+239
| | | | | | | | to Gyepi Sam <gyepi@praxis-sw.com> -Erik git-svn-id: svn://busybox.net/trunk/busybox@890 69ca8d6d-28ef-0310-b511-8ec308f3f277
* As per a discussion on the mailing list between Matt and Pavel. I have removedmarkw2000-07-202-10/+2
| | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@889 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Converted option parsing to getopt(). Also added some explanatory comments.markw2000-07-202-26/+28
| | | | git-svn-id: svn://busybox.net/trunk/busybox@888 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Adjusted install.sh to use relative symlinks, and to optionallyandersen2000-07-203-17/+80
| | | | | | | | create hardlinks. Added a makefile target to create hardlinks. -Erik git-svn-id: svn://busybox.net/trunk/busybox@887 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Converted option parsing to using getopt(). Also managed to remove anmarkw2000-07-202-34/+34
| | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@886 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Whoops. Forgot to #include <getopt.h>.markw2000-07-202-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@885 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Converted option parsing to getopt() and made some minor formatting changes.markw2000-07-192-36/+42
| | | | git-svn-id: svn://busybox.net/trunk/busybox@884 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Centralize handling of --help.kraai2000-07-1932-312/+221
| | | | git-svn-id: svn://busybox.net/trunk/busybox@883 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added some missing declarations and fixed some typos. I have tokraai2000-07-193-1/+13
| | | | | | | remember to compile *before* committing. git-svn-id: svn://busybox.net/trunk/busybox@882 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add usage messages for applets without them.kraai2000-07-1919-0/+232
| | | | git-svn-id: svn://busybox.net/trunk/busybox@881 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Avoid trying to free NULL ptrs. Comment on malloc usages.andersen2000-07-192-8/+12
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@880 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use FatalError()andersen2000-07-192-8/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@879 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Moved some code and add a coupld #defines to support use of dmalloc.andersen2000-07-194-27/+26
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@878 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Funny. Head was getting installed to the wrong spot.andersen2000-07-192-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@877 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updated to add support for dmalloc, and adjusted for better crossandersen2000-07-191-10/+27
| | | | | | | | compiler support. -Erik git-svn-id: svn://busybox.net/trunk/busybox@876 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Consolodated some common code into print_matched_line to make 'grep_file' amarkw2000-07-182-20/+22
| | | | | | | little more terse & clean. Also made a few minor formatting changes. git-svn-id: svn://busybox.net/trunk/busybox@875 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed now incorrect message about NFS not working withandersen2000-07-181-2/+1
| | | | | | | | Linux 2.[34].x kernels. It does work now, -Erik git-svn-id: svn://busybox.net/trunk/busybox@874 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added support for the -c (count matches) option. Made it so it works just likemarkw2000-07-182-6/+44
| | | | | | | GNU grep. git-svn-id: svn://busybox.net/trunk/busybox@873 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Sigh -- can't sleep. Clean up some mem leaks, fixed some bugs.andersen2000-07-183-117/+129
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@872 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New message added to messages.c: full_versionproski2000-07-1711-19/+53
| | | | | | | Used where possible git-svn-id: svn://busybox.net/trunk/busybox@871 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Moved functions used by "lsmod" from cat.c to utility.cproski2000-07-176-40/+37
| | | | | | | | Adjusted to make lsmod and sh compilable as standalone apps. Comment fixes git-svn-id: svn://busybox.net/trunk/busybox@870 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Added support for backreferences in substitution expressions up to ninemarkw2000-07-172-36/+152
| | | | | | | | | | | | | | | | | | (\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. git-svn-id: svn://busybox.net/trunk/busybox@869 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Now it's possible to compile Busybox with only one app definedproski2000-07-172-15/+21
| | | | | | | (unless it's lsmod, to be fixed by the next commit) git-svn-id: svn://busybox.net/trunk/busybox@868 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Backtick support to infinite (memory limited) levels of nesting isandersen2000-07-173-90/+255
| | | | | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@867 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It is now possible to select in busybox.def.h whether minixfs version 2proski2000-07-175-72/+63
| | | | | | | is to be supported. git-svn-id: svn://busybox.net/trunk/busybox@866 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The result of getopt() is "int" and should be treated as suchproski2000-07-178-10/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@865 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Extract usage information into a separate file.kraai2000-07-16175-2050/+2529
| | | | git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't use strings directly in calls to usage(). This is in preparationkraai2000-07-1431-289/+321
| | | | | | | for their extraction to a separate file. git-svn-id: svn://busybox.net/trunk/busybox@863 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed a couple of buglets:markw2000-07-142-12/+58
| | | | | | | | | | | | | | | | | | | - 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. git-svn-id: svn://busybox.net/trunk/busybox@862 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Added support for semicolon delimited command lines. (woo-hoo!)markw2000-07-142-62/+144
| | | | | | | | | | | | - 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. git-svn-id: svn://busybox.net/trunk/busybox@861 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Getopt'ed by Marc Nijdam <marc_nijdam@hp.com>andersen2000-07-146-174/+128
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@860 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Getopt'rd by Marc Nijdam <marc_nijdam@hp.com>andersen2000-07-142-42/+22
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@859 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More fixes for "signed vs. unsigned" warnings.proski2000-07-144-6/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@858 69ca8d6d-28ef-0310-b511-8ec308f3f277