<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/findutils, branch 1_31_0</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=1_31_0</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=1_31_0'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2019-03-10T13:29:03+00:00</updated>
<entry>
<title>xargs: mention -E STR in --help</title>
<updated>2019-03-10T13:29:03+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2019-03-10T13:29:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2452247ea33c1c70263bf4cbc11b3170366ff2ea'/>
<id>urn:sha1:2452247ea33c1c70263bf4cbc11b3170366ff2ea</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>grep: short-circuit -v to bail out on first match</title>
<updated>2019-01-29T13:53:22+00:00</updated>
<author>
<name>Ari Sundholm</name>
<email>ari@tuxera.com</email>
</author>
<published>2019-01-28T17:41:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d4b568c108b89fb726181b0fabb19f2d62bc1930'/>
<id>urn:sha1:d4b568c108b89fb726181b0fabb19f2d62bc1930</id>
<content type='text'>
A small optimization. There is no need to try matching the current
input line against any further patterns if a match was already
found and -v is specified.

function                                             old     new   delta
grep_file                                           1463    1440     -23

Signed-off-by: Ari Sundholm &lt;ari@tuxera.com&gt;
Signed-off-by: Niko Vähäsarja &lt;niko@tuxera.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>grep: fix -x -v with certain pattern orders</title>
<updated>2019-01-29T13:42:57+00:00</updated>
<author>
<name>Ari Sundholm</name>
<email>ari@tuxera.com</email>
</author>
<published>2019-01-29T13:42:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9a9c6e39ba4c8f4f2cecb147c7e6464bec2d8b55'/>
<id>urn:sha1:9a9c6e39ba4c8f4f2cecb147c7e6464bec2d8b55</id>
<content type='text'>
We found out that busybox -x -v is a bit broken:

ari@ari-thinkpad:~/busybox$ echo '  aa bb cc' | ./busybox grep -x -e 'aa.*' -e '.*bb.*'
  aa bb cc
ari@ari-thinkpad:~/busybox$ echo '  aa bb cc' | ./busybox grep -x -v -e 'aa.*' -e '.*bb.*'
ari@ari-thinkpad:~/busybox$ echo '  aa bb cc' | ./busybox grep -x -e '.*aa.*' -e 'bb.*'
  aa bb cc
ari@ari-thinkpad:~/busybox$ echo '  aa bb cc' | ./busybox grep -x -v -e '.*aa.*' -e 'bb.*'
  aa bb cc

Last one is wrong.

This patch fixes the issue by making sure that the variable 'found'
never makes a transition from 1 to 0, as this would mean that
grep previously found a match on this input line.

Signed-off-by: Ari Sundholm &lt;ari@tuxera.com&gt;
Signed-off-by: Niko Vähäsarja &lt;niko@tuxera.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>find: handle leading -- argument</title>
<updated>2019-01-06T18:58:18+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2019-01-06T18:58:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2d9e09796342ab202e780a6cb613b532c7356aec'/>
<id>urn:sha1:2d9e09796342ab202e780a6cb613b532c7356aec</id>
<content type='text'>
function                                             old     new   delta
find_main                                            464     478     +14

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>config: update size information</title>
<updated>2018-12-28T02:20:17+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-12-28T02:20:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b097a84d62dcfcf201a695b54bcfafae70cac8a6'/>
<id>urn:sha1:b097a84d62dcfcf201a695b54bcfafae70cac8a6</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>xargs: fix exit code if command exits nonzero, closes 11381</title>
<updated>2018-10-30T13:40:17+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-10-30T13:40:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f3e2838fc4e6bd0713d7ee5a17e752a19870a0f8'/>
<id>urn:sha1:f3e2838fc4e6bd0713d7ee5a17e752a19870a0f8</id>
<content type='text'>
No code size change on x86.

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>grep: accept and ignore --color[=anything]</title>
<updated>2018-07-13T18:40:40+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-07-13T18:40:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=8717b14f376e38998512c022b3d2b1af6e877e5e'/>
<id>urn:sha1:8717b14f376e38998512c022b3d2b1af6e877e5e</id>
<content type='text'>
function                                             old     new   delta
grep_main                                            827     834      +7

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>find: implement -executable</title>
<updated>2018-07-06T19:04:41+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-07-06T19:04:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=008e73b5728b19c7ba6e746e279c4bc8a1935f0d'/>
<id>urn:sha1:008e73b5728b19c7ba6e746e279c4bc8a1935f0d</id>
<content type='text'>
function                                             old     new   delta
func_executable                                        -      19     +19
parse_params                                        1505    1519     +14
static.params                                        216     228     +12
packed_usage                                       32847   32855      +8
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 3/0 up/down: 53/0)               Total: 53 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>tweak help texts</title>
<updated>2018-07-06T18:49:08+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-07-06T18:49:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=4d0e2d5b6d563fd8adb5940a42d73a43c812378b'/>
<id>urn:sha1:4d0e2d5b6d563fd8adb5940a42d73a43c812378b</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>find: implement -quit</title>
<updated>2018-07-06T18:35:35+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-07-06T18:35:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=abe22cd17b182153bc883e7d9e3cb04eb2c449ff'/>
<id>urn:sha1:abe22cd17b182153bc883e7d9e3cb04eb2c449ff</id>
<content type='text'>
function                                             old     new   delta
packed_usage                                       32816   32846     +30
find_main                                            446     464     +18
func_quit                                              -      13     +13
parse_params                                        1495    1505     +10
static.params                                        210     216      +6
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 4/0 up/down: 77/0)               Total: 77 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
