mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
f67a9f2ee7
This time it's redirections
63 lines
802 B
Text
63 lines
802 B
Text
|
|
####################
|
|
# Comments in odd places don't cause problems
|
|
1a
|
|
1b
|
|
2a
|
|
2b
|
|
|
|
####################
|
|
# Escaped newlines
|
|
foo bar
|
|
foobar
|
|
foobar
|
|
foo\
|
|
bar
|
|
a
|
|
b
|
|
c
|
|
|
|
####################
|
|
# Simple function tests
|
|
Test 2 pass
|
|
Test 3a pass
|
|
Test 3b pass
|
|
Test 4 pass
|
|
|
|
####################
|
|
# Testing builtin status
|
|
Test 5 pass
|
|
|
|
####################
|
|
# echo tests
|
|
abc\ndef
|
|
abc
|
|
def
|
|
abc\zdef
|
|
abc!def
|
|
abc!def
|
|
abcQdef
|
|
abcQ2def
|
|
abc
|
|
-
|
|
-h
|
|
0000000 376
|
|
0000001
|
|
Catch your breath
|
|
abc!def
|
|
abc!1def
|
|
|
|
####################
|
|
# Comments allowed in between lines (#1987)
|
|
before comment after comment
|
|
|
|
####################
|
|
# Backslashes are part of comments and do not join lines (#1255)
|
|
|
|
####################
|
|
# Verify $argv set correctly in sourced scripts (#139)
|
|
source argv {}
|
|
source argv {}
|
|
source argv {abc}
|
|
source argv {abc def}
|
|
1
|