aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-07-13Fixed 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 outMark Whitley
substitution command execution from do_sed_command() and put it in it's own do_subst_command() function.
2000-07-13Minor code reorg: Changed the interface to index_of_next_unescaped_slash to anMark Whitley
interface that seems a little more sensible to me. Also broke out s/// expression parsing into it's own subroutine.
2000-07-13Fix uninitialized variable.Eric Andersen
-Erik
2000-07-13Patch from Marc Nijdam <marc_nijdam@hp.com>Eric Andersen
> First (of many more) patch of cp_mv to getopt use. I'm using the most > simplistic approach, just get getopt used, then worry about a cleaner > option parsing style using getopt later. > > Marc
2000-07-13Added a smallish TODO comment.Mark Whitley
2000-07-13From Matt Kraai <kraai@alumni.carnegiemellon.edu>Eric Andersen
> Here is a patch so that tr can handle NULL characters as well. Give it > a shot and let me know what you think. It is against the latest CVS > version. > > In my tests, the following now works as expected. > > tr '\0' '\n' > > Later, > Matt
2000-07-13Correct argument parsing and other minor cleanups.Matt Kraai
2000-07-12Added some smallish comments to help folks understand why we have two tablesMark Whitley
of builtins and the reasoning behind it.
2000-07-12Changed bb_regcomp to xregcomp and #if 0'ed out destroy_cmd_strs in sed.cMark Whitley
(maybe I'll remove it later).
2000-07-12Patch from Jon McClintock <jonm@bluemug.com>Eric Andersen
>The attached patch adds the ability to parse the actual mode specifier in >fbset. So now > > fbset -n 640x480-72 > >Will actually work. I don't know if I've reinvented the wheel though... -Erik
2000-07-12Always report the applet name when doing error reporting.Matt Kraai
2000-07-12Use global applet_name instead of local versions.Matt Kraai
2000-07-12Use global applet_name instead of local versions.Matt Kraai
2000-07-12The applet name isn't constant.Matt Kraai
2000-07-11Changed verbiage.Eric Andersen
-Erik
2000-07-11Replaced projects with products/projects.Eric Andersen
-Erik
2000-07-11Added the Kerbango Internet Radio to projects/products using BusyBox.Eric Andersen
-Erik
2000-07-11Applied patch from Matt Kraai to call destroy_cmd_strs in atexit(), ratherMark Whitley
than peppering it throughout the code.
2000-07-11Added applet_name to contain the applet name.Matt Kraai
2000-07-11Final updates for release.Eric Andersen
-Erik
2000-07-11Final update for the release.Eric Andersen
2000-07-11Forgot to commit these cleanups it seems.Eric Andersen
-Erik
2000-07-11More changelog updatesEric Andersen
-Erik
2000-07-11Added changelog entries for grep/sed/regex changes.Mark Whitley
2000-07-11Some changelog updates.Eric Andersen
-Erik
2000-07-11Re-enable ln -n in the help.Eric Andersen
-Erik
2000-07-11Another patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>:Eric Andersen
> > The following patch allows ln -n to function like GNU. It also fixes a > typo with my previous patch to add support for ln FILE DIRECTORY. And > it removes some code that checks the maximum length of the filenames. I > can't figure out why that code is necessary. Anyone know? > > Matt
2000-07-11Added 'dumpkmap' to allow people to dump a binary keymap, which can then beEric Andersen
loaded in by 'loadkmap' -- submitted by Arne Bernin <arne@matrix.loopback.org> -Erik
2000-07-11Applied patch from Matt Kraai which does the following:Mark Whitley
- adds case-insensitive matching in sed s/// epxressions - consolodates common regcomp code in grep & sed into bb_regcomp and put in utility.c - cleans up a bunch of cruft
2000-07-11Fix dead link.Matt Kraai
-Matt
2000-07-10Fixed NFS so it supports 2.4.x kernels and NFSv3. Should close bug #1009.Eric Andersen
-Erik
2000-07-10Removed all trace of hand-tooled regexp routines. Bye bye, baby.Mark Whitley
2000-07-10Added a rule to make tags files for vi(m).Mark Whitley
2000-07-10Comment on kernel stuffEric Andersen
-Erik
2000-07-10Brand, new sed that uses libc regex routines.Mark Whitley
There is some common code used by both sed & grep that should be put into utility.c as per Mat Kraai's suggestions/patch on the mailing list. Specifically, a common regex_compile() and a regex_subst() function need to be made.
2000-07-10More linux kernel header file removal.Eric Andersen
-Erik
2000-07-10Remove yet more kernel header dependancies.Eric Andersen
-Erik
2000-07-10Remove unused variable.Eric Andersen
-Erik
2000-07-10Remove the problematic CTRLCHAR macro.Eric Andersen
-Erik
2000-07-10Put the GROWBY variable inside the get_line_from_file function, as that is theMark Whitley
only function where it's used and it's always good to keep the namespace clean. :-)
2000-07-10Removed unnecessary #include "regexp.h" line from find.c as per Matt Kraai'sMark Whitley
suggestion on the mailing list.
2000-07-10Function name cleanup.Eric Andersen
-Erik
2000-07-10From Matt Kraai <kraai@alumni.carnegiemellon.edu>:Eric Andersen
Howdy, Bug #1006 reports that ln -s /tmp/foo . does not work correctly. In fact, it appears that any instantiation of ln -s FILE... DIRECTORY does not work. The following patch adds support for this form, which then fixes the particular instance noted in the bug report. In the process, I needed the basename function. This appears in the string.h provided by glibc, but not uC-libc. So I wrote my own to go in utility.c, called get_last_path_component. I also modified the basename utility to use this function. At some point it might be desirous to use the basename from the library if it exists, and otherwise compile our own. But I don't know how to do this. Matt
2000-07-10Patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>:Eric Andersen
GNU tr complains on the following: $ tr a '' tr: when not truncating set1, string2 must be non-empty BusyBox tr does not complain: $ tr a '' a ^D 0 It should result in an error, not in some spurious output. The attached patch generates an error. Matt
2000-07-10Applied patch from Matt Kraai as per his email:Mark Whitley
However, the case of grep foo$ file didn't work, due to a problem with the flags used in regular expression compilation. The attached patch fixes this problem. ---patch------- Index: grep.c =================================================================== RCS file: /var/cvs/busybox/grep.c,v retrieving revision 1.30 diff -u -r1.30 grep.c --- grep.c 2000/07/04 22:17:01 1.30 +++ grep.c 2000/07/10 08:57:04 @@ -141,8 +141,10 @@ if (argv[optind] == NULL) usage(grep_usage); - /* compile the regular expression */ - reflags = REG_NOSUB; /* we're not going to mess with sub-expressions */ + /* compile the regular expression + * we're not going to mess with sub-expressions, and we need to + * treat newlines right. */ + reflags = REG_NOSUB | REG_NEWLINE; if (ignore_case) reflags |= REG_ICASE; if ((ret = regcomp(&regex, argv[optind], reflags)) != 0) { ---patch------- Thanks, Matt, it works great.
2000-07-09More portability updates. Now compiles cleanly vs glibc, libc5, and uclibcEric Andersen
(except for mkfs_minix and fsck_minix -- and it doesn't yet link vs uclibc due to missing stuff in the library). -Erik
2000-07-09include getopt.hEric Andersen
-Erik
2000-07-09Fix a bug in get_line_from_file. If the length of the line is (GROWBY * n) +Eric Andersen
GROWBY - 1, then it writes the null character just after the buffer. Yipe. Fix thanks to Matt Kraai <kraai@alumni.carnegiemellon.edu> Thanks Matt! -Erik
2000-07-09The build depends were too strict. I depended on on debhelper (>= 2.0.80)Eric Andersen
while debhelper 1.1.24 is available for slink. Just forget the dependancy -- it isn't needed. -Erik