<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/findutils, branch 0_46</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=0_46</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=0_46'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2000-07-11T16:53:56+00:00</updated>
<entry>
<title>Applied patch from Matt Kraai which does the following:</title>
<updated>2000-07-11T16:53:56+00:00</updated>
<author>
<name>Mark Whitley</name>
<email>markw@lineo.com</email>
</author>
<published>2000-07-11T16:53:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=df5f6ba1159f8c1af500fa1b8eb9c9646e4de2a6'/>
<id>urn:sha1:df5f6ba1159f8c1af500fa1b8eb9c9646e4de2a6</id>
<content type='text'>
 - adds case-insensitive matching in sed s/// epxressions
 - consolodates common regcomp code in grep &amp; sed into bb_regcomp and put in
   utility.c
 - cleans up a bunch of cruft
</content>
</entry>
<entry>
<title>Removed unnecessary #include "regexp.h" line from find.c as per Matt Kraai's</title>
<updated>2000-07-10T19:29:09+00:00</updated>
<author>
<name>Mark Whitley</name>
<email>markw@lineo.com</email>
</author>
<published>2000-07-10T19:29:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=928faac50328e4e2f4e42e041ba3f1f4568365bd'/>
<id>urn:sha1:928faac50328e4e2f4e42e041ba3f1f4568365bd</id>
<content type='text'>
suggestion on the mailing list.
</content>
</entry>
<entry>
<title>Applied patch from Matt Kraai as per his email:</title>
<updated>2000-07-10T15:50:26+00:00</updated>
<author>
<name>Mark Whitley</name>
<email>markw@lineo.com</email>
</author>
<published>2000-07-10T15:50:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=44735f874437ee4b570a6780c1f879de80e80fdc'/>
<id>urn:sha1:44735f874437ee4b570a6780c1f879de80e80fdc</id>
<content type='text'>
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(&amp;regex, argv[optind], reflags)) != 0) {
---patch-------

Thanks, Matt, it works great.
</content>
</entry>
<entry>
<title>include getopt.h</title>
<updated>2000-07-09T05:56:14+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2000-07-09T05:56:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e9b527ae48cb9609ea0668974de32da523ebd231'/>
<id>urn:sha1:e9b527ae48cb9609ea0668974de32da523ebd231</id>
<content type='text'>
 -Erik
</content>
</entry>
<entry>
<title>Some cosmetic updates.  Changed "OPTIONS" to "Options".</title>
<updated>2000-07-04T22:17:01+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2000-07-04T22:17:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2086e3d679464c5c443ff66310adb9a6d0b70e6a'/>
<id>urn:sha1:2086e3d679464c5c443ff66310adb9a6d0b70e6a</id>
<content type='text'>
 -Erik
</content>
</entry>
<entry>
<title>Fixed comment.</title>
<updated>2000-06-28T22:59:30+00:00</updated>
<author>
<name>Mark Whitley</name>
<email>markw@lineo.com</email>
</author>
<published>2000-06-28T22:59:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2e1148b2393b1bcb72804a0c0de1408ca02a0189'/>
<id>urn:sha1:2e1148b2393b1bcb72804a0c0de1408ca02a0189</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added support for reading from stdin with '-' as file name arg.</title>
<updated>2000-06-28T22:55:59+00:00</updated>
<author>
<name>Mark Whitley</name>
<email>markw@lineo.com</email>
</author>
<published>2000-06-28T22:55:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=8bd891cbecb41442daab3496647e09575960056d'/>
<id>urn:sha1:8bd891cbecb41442daab3496647e09575960056d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Yanked out the cstring_alloc() and cstring_lineFromFile() functions from</title>
<updated>2000-06-28T22:15:26+00:00</updated>
<author>
<name>Mark Whitley</name>
<email>markw@lineo.com</email>
</author>
<published>2000-06-28T22:15:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1ca41775bbdc07cf67be79aebc566754c9c02855'/>
<id>urn:sha1:1ca41775bbdc07cf67be79aebc566754c9c02855</id>
<content type='text'>
utility.c and replaced them with get_line_from_file() from the new grep.c.
Also changed declaration in internal.h and replaced instances of
cstring_lineFromFile() in dc.c and sort.c with get_line_from_file(). Tested
them and they worked fine.
</content>
</entry>
<entry>
<title>Brand, spankin', new grep that uses libc regex routines instead of the</title>
<updated>2000-06-28T22:00:26+00:00</updated>
<author>
<name>Mark Whitley</name>
<email>markw@lineo.com</email>
</author>
<published>2000-06-28T22:00:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d37218941c37795cc8e96ddb3312d83fb2269d5a'/>
<id>urn:sha1:d37218941c37795cc8e96ddb3312d83fb2269d5a</id>
<content type='text'>
hand-rolled ones. Sed still needs to be replaced and then the regexp stuff can
be axed.
</content>
</entry>
<entry>
<title>Updates to a number of apps to remove warnings/compile errors under libc5.</title>
<updated>2000-06-19T17:25:40+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2000-06-19T17:25:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b610615be9aedfac07d1e01f12575707fa3a227c'/>
<id>urn:sha1:b610615be9aedfac07d1e01f12575707fa3a227c</id>
<content type='text'>
Tested under both libc5 and libc6 and all seems well with these fixes.
 -Erik
</content>
</entry>
</feed>
