summaryrefslogtreecommitdiff
path: root/sed.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2000-07-11Final update for the release.Eric Andersen1-0/+4
2000-07-11Forgot to commit these cleanups it seems.Eric Andersen16-22/+8
-Erik
2000-07-11More changelog updatesEric Andersen1-3/+4
-Erik
2000-07-11Added changelog entries for grep/sed/regex changes.Mark Whitley1-0/+3
2000-07-11Some changelog updates.Eric Andersen1-1/+4
-Erik
2000-07-11Re-enable ln -n in the help.Eric Andersen2-4/+0
-Erik
2000-07-11Another patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>:Eric Andersen2-54/+4
> > 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 Andersen11-14/+248
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 Whitley6-195/+120
- 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 Kraai1-1/+1
-Matt
2000-07-10Fixed NFS so it supports 2.4.x kernels and NFSv3. Should close bug #1009.Eric Andersen8-1799/+1240
-Erik
2000-07-10Removed all trace of hand-tooled regexp routines. Bye bye, baby.Mark Whitley3-823/+1
2000-07-10Added a rule to make tags files for vi(m).Mark Whitley1-0/+4
2000-07-10Comment on kernel stuffEric Andersen7-14/+6
-Erik
2000-07-10Brand, new sed that uses libc regex routines.Mark Whitley2-560/+966
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 Andersen4-8/+388
-Erik
2000-07-10Remove yet more kernel header dependancies.Eric Andersen15-20/+16
-Erik
2000-07-10Remove unused variable.Eric Andersen2-2/+2
-Erik
2000-07-10Remove the problematic CTRLCHAR macro.Eric Andersen2-20/+16
-Erik
2000-07-10Put the GROWBY variable inside the get_line_from_file function, as that is theMark Whitley1-1/+2
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 Whitley2-2/+0
suggestion on the mailing list.
2000-07-10Function name cleanup.Eric Andersen3-123/+135
-Erik
2000-07-10From Matt Kraai <kraai@alumni.carnegiemellon.edu>:Eric Andersen6-20/+54
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 Andersen2-4/+8
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 Whitley2-4/+8
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 Andersen14-12/+34
(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 Andersen2-2/+2
-Erik
2000-07-09Fix a bug in get_line_from_file. If the length of the line is (GROWBY * n) +Eric Andersen1-1/+1
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 Andersen1-1/+1
while debhelper 1.1.24 is available for slink. Just forget the dependancy -- it isn't needed. -Erik
2000-07-08Argh. More cross libc cleanup. Should be ok now...Eric Andersen5-49/+66
-Erik
2000-07-08More cleanup on umountEric Andersen2-10/+34
-Erik
2000-07-08Update files to reduce dependance on kernel version...Eric Andersen23-87/+184
-Erik
2000-07-08Add in tinynetEric Andersen1-0/+1
-Erik
2000-07-08Doc updates to remove sfdisk.Eric Andersen2-118/+3
-Erik
2000-07-07Better description of the BB_FEATURE_USE_DEVPS_PATCH option.Eric Andersen1-6/+12
-Erik
2000-07-07Add in my fix for 2.4.x kernels so /proc/mounts will not have uselessEric Andersen2-0/+66
deg entries which break mount, df, and friends. Renamed WillThisGoIntoTheKernel to avoid any confision. -Erik
2000-07-07Removed sfdisk from BusyBox. It was buggy, fat, and we really couldn'tEric Andersen5-3006/+4
maintain it very well, so including it was not very appropriate. Those wanting an fdisk are invited to grab a copy from util-linux. -Erik
2000-07-07Added in Matt Kraai.Eric Andersen1-1/+3
-Erik
2000-07-07Fix a dependancy bug for the docs.Eric Andersen1-3/+2
-Erik
2000-07-07Naming fixEric Andersen2-6/+6
-Erik
2000-07-07Recognize Matt's poweroff fix.Eric Andersen1-3/+6
-Erik
2000-07-07Fix for bug #1003 -- BusyBox should now poweroff when asked toEric Andersen2-2/+2
do so... Fix thanks to Matt Kraai <kraai@alumni.carnegiemellon.edu> -Erik
2000-07-07Web page update from Matt Kraai <kraai@alumni.carnegiemellon.edu>Eric Andersen1-2/+2
-Erik
2000-07-07This patch finishes the cleanup of all the commands. It also cleans upEric Andersen1-1683/+1042
the remaining chapters -- Matt Kraai <kraai@alumni.carnegiemellon.edu> -Erik
2000-07-07Yet another busybox documentation update from Matt Kraai ↵Eric Andersen1-662/+415
<kraai@alumni.carnegiemellon.edu> -Erik
2000-07-06Update 'make release' to remove all the .#filename filesEric Andersen1-0/+5
the CVS leaves lying about... -Erik
2000-07-06Turned some stuff into features that really are features, not apps.Eric Andersen7-23/+28
-Erik
2000-07-06Fix doc building so the dependancies work properly.Eric Andersen1-28/+29
-Erik
2000-07-06* Fixed tar creation support when reading from stdin ('tar -cf - . ')Eric Andersen3-0/+6
thanks to Daniel Quinlan <quinlan@transmeta.com> -Erik
2000-07-06Fixed backspace and delete so they work properly again -- brokenEric Andersen3-4/+7
since 0.44. -Erik