summary refs log tree commit diff
path: root/bin/1sh/tests/builtins/read9.0
blob: 5c5521db089a4549a2cd34c9a5b032e2dcff8199 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# $FreeBSD: releng/12.1/bin/sh/tests/builtins/read9.0 287308 2015-08-30 17:24:22Z jilles $

empty=''
read a b c <<EOF
\ \ A B\ \ B C\ \ $empty
EOF
read d e <<EOF
D\ $empty
EOF
[ "$a.$b.$c.$d.$e" = "  A.B  B.C  .D ." ]