<feed xmlns='http://www.w3.org/2005/Atom'>
<title>forks/busybox/shell/ash_test/ash-read, branch 1_33_stable</title>
<subtitle>Busybox tree with Carbs Linux patches
</subtitle>
<id>https://git.carbslinux.org/forks/busybox/atom?h=1_33_stable</id>
<link rel='self' href='https://git.carbslinux.org/forks/busybox/atom?h=1_33_stable'/>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/'/>
<updated>2020-07-31T16:42:30+00:00</updated>
<entry>
<title>shell: Fix "read -d ''" behavior</title>
<updated>2020-07-31T16:42:30+00:00</updated>
<author>
<name>Christian Eggers</name>
<email>ceggers@arri.de</email>
</author>
<published>2020-06-29T15:57:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=39925026f6857979cbe603efd42073eb63f8d9de'/>
<id>urn:sha1:39925026f6857979cbe603efd42073eb63f8d9de</id>
<content type='text'>
With bash's read builtin it is possible to read from a file (e.g.
device-tree) until the first '\0' character:

IFS= read -r -d '' VARIABLE &lt; file

In busybox ash the -d extension is also implemented, but checking the
read character for '\0' has to be performed after comparing with the
delimiter.

Signed-off-by: Christian Eggers &lt;ceggers@arri.de&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shell: optional support for read -t N.NNN, closes 10101</title>
<updated>2017-07-20T14:09:31+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-07-20T14:09:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=eae12688c9bb056b21e4e62fc295be5ebdcb8b7b'/>
<id>urn:sha1:eae12688c9bb056b21e4e62fc295be5ebdcb8b7b</id>
<content type='text'>
function                                             old     new   delta
shell_builtin_read                                  1097    1277    +180
dump_procs                                           353     359      +6

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash,hush: fix SIGCHLD interrupting read builtin</title>
<updated>2017-05-22T17:34:45+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-05-22T17:34:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=f5470419404d643070db99d058405b714695b817'/>
<id>urn:sha1:f5470419404d643070db99d058405b714695b817</id>
<content type='text'>
function                                             old     new   delta
readcmd                                              169     217     +48
shell_builtin_read                                  1087    1097     +10
localcmd                                             366     364      -2
builtin_read                                         197     193      -4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/2 up/down: 58/-6)              Total: 52 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash testsuite: remove two inadvertent bashisms</title>
<updated>2016-10-01T15:30:21+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2016-10-01T15:30:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=cc0056db5c82b7965c019599f59f8f1d9e8d52fd'/>
<id>urn:sha1:cc0056db5c82b7965c019599f59f8f1d9e8d52fd</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shell: split read builtin from ash</title>
<updated>2010-01-12T21:11:24+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2010-01-12T21:11:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=7306727d1b2ed05afc91548ba374f7400a2389e3'/>
<id>urn:sha1:7306727d1b2ed05afc91548ba374f7400a2389e3</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: fix for read $IFS splitting. Closes bug 235</title>
<updated>2010-01-08T14:44:07+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2010-01-08T14:44:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=8cd04d1cb658227d3c6eeb2a377314ca9cdf249d'/>
<id>urn:sha1:8cd04d1cb658227d3c6eeb2a377314ca9cdf249d</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: fix $IFS handling in read. closes bug 235</title>
<updated>2009-03-31T19:18:17+00:00</updated>
<author>
<name>Denis Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2009-03-31T19:18:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=46aeab9a349d097307a87d7dfde3057f9e4e6722'/>
<id>urn:sha1:46aeab9a349d097307a87d7dfde3057f9e4e6722</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ash: add read -u; fix read -t and read -n; add testsuite entries.</title>
<updated>2008-03-25T00:07:12+00:00</updated>
<author>
<name>Denis Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2008-03-25T00:07:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=59f351ccda4c66785b864086bf23868768ca6f61'/>
<id>urn:sha1:59f351ccda4c66785b864086bf23868768ca6f61</id>
<content type='text'>
</content>
</entry>
</feed>
