aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-read (follow)
Commit message (Collapse)AuthorAgeFilesLines
* shell: Fix "read -d ''" behaviorChristian Eggers2020-07-312-0/+2
| | | | | | | | | | | | | | 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 < 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 <ceggers@arri.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* shell: optional support for read -t N.NNN, closes 10101Denys Vlasenko2017-07-202-0/+17
| | | | | | | | function old new delta shell_builtin_read 1097 1277 +180 dump_procs 353 359 +6 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash,hush: fix SIGCHLD interrupting read builtinDenys Vlasenko2017-05-222-0/+6
| | | | | | | | | | | | 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 <vda.linux@googlemail.com>
* ash testsuite: remove two inadvertent bashismsDenys Vlasenko2016-10-011-2/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* shell: split read builtin from ashDenys Vlasenko2010-01-122-0/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix for read $IFS splitting. Closes bug 235Denys Vlasenko2010-01-082-14/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix $IFS handling in read. closes bug 235Denis Vlasenko2009-03-312-0/+14
|
* ash: add read -u; fix read -t and read -n; add testsuite entries.Denis Vlasenko2008-03-256-0/+24