fish-shell/tests/checks/read.fish
Johannes Altmanninger 0c74ff4209 Revert "read: discard IFS delimiters before the last token"
See #6650.

This reverts commit 1410f938aa.

(cherry-picked from commmit 91fcb8c42c)
2020-02-29 09:54:46 +01:00

15 lines
185 B
Fish

# RUN: %fish %s
echo 'a | b' | read -lt a b c
set -l
# CHECK: a a
# CHECK: b '|'
# CHECK: c b
echo 'a"foo bar"b' | read -lt a b c
set -l
# CHECK: a 'afoo barb'
# CHECK: b
# CHECK: c