diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-11-22 01:09:07 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-11-22 01:09:07 -0800 |
commit | 90495f3ac544ba89a3f7063de6e1fb4cd74872a7 (patch) | |
tree | 1e403005b5a46e7e271339ddb4e856cec4a02b91 /tests/test1.in | |
parent | 6fc9e6f21ed8e6ebc2c6254426d1dc33f6bce636 (diff) |
Implement new newline-escaping behavior. Backslashes at the end of lines now essentially delete the newline, within normal text or double quotes. Backslashes are retained within single quotes.
Fixes https://github.com/fish-shell/fish-shell/issues/347
Fixes https://github.com/fish-shell/fish-shell/issues/52
Diffstat (limited to 'tests/test1.in')
-rw-r--r-- | tests/test1.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test1.in b/tests/test1.in index 8c214900..159c9cf8 100644 --- a/tests/test1.in +++ b/tests/test1.in @@ -15,6 +15,15 @@ echo x-{1} echo x-{1,2} echo foo-{1,2{3,4}} +# Escpaed newlines +echo foo\ bar +echo foo\ +bar +echo "foo\ +bar" +echo 'foo\ +bar' + # Simple alias tests function foo |