mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 18:03:37 +08:00
f67a9f2ee7
This time it's redirections
64 lines
802 B
Plaintext
64 lines
802 B
Plaintext
|
|
####################
|
|
# 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
|