| 1 | # Called from spec/ysh-builtins.test.sh |
| 2 | |
| 3 | shopt -s ysh:upgrade |
| 4 | |
| 5 | # Hm this preserves the newline? |
| 6 | seq 3 | while read --raw-line { |
| 7 | write reply=$_reply # implicit |
| 8 | } |
| 9 | write a b | while read --raw-line --with-eol (&myline) { |
| 10 | write --end '' myline=$myline |
| 11 | } |