summary refs log tree commit diff
path: root/bin/cash/tests/builtins/read9.0
blob: dbd76d3e94232042c1aa9af502a4d33fcb96562f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# $FreeBSD: releng/12.0/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 ." ]