1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
####################
# Read with no vars is not an error
####################
# Read with -a and anything other than exactly on var name is an error
read: Expected 1 args, got 0
read: Expected 1 args, got 2
####################
# Verify correct behavior of subcommands and splitting of input.
####################
# Test splitting input
####################
# Test splitting input with IFS empty
####################
# read -n tests
####################
# read -z tests
####################
# Chunked read tests
####################
# Confirm reading non-interactively works -- #4206 regression
####################
# Test --delimiter (and $IFS, for now)
####################
# Delimiter =
####################
# Delimiter empty
####################
# IFS empty string
####################
# IFS unset
####################
# Delimiter =
|