mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-29 05:03:46 +08:00
3a7719015d
For example, an argument 12345^ is a real argument, not a redirection There's no reason to use ^ here instead of >, and it's annoying to git users. Fixes #1873
61 lines
544 B
Plaintext
61 lines
544 B
Plaintext
1a
|
|
1b
|
|
2a
|
|
2b
|
|
x-1
|
|
x-1 x-2
|
|
foo-1 foo-23 foo-24
|
|
foo bar
|
|
foobar
|
|
foobar
|
|
foo\
|
|
bar
|
|
a
|
|
b
|
|
c
|
|
Test 2 pass
|
|
Test pass
|
|
Test 3 pass
|
|
Test 4 pass
|
|
1
|
|
0
|
|
Test 5 pass
|
|
Test redirections
|
|
errput
|
|
output
|
|
errput
|
|
output
|
|
caret_no_redirect 12345^
|
|
is_stdout
|
|
abc\ndef
|
|
abc
|
|
def
|
|
abc\zdef
|
|
abc!def
|
|
abc!def
|
|
abcQdef
|
|
abcQ2def
|
|
abc
|
|
-
|
|
fe
|
|
Catch your breath
|
|
abc!def
|
|
abc!1def
|
|
pipe 3
|
|
pipe 4
|
|
pipe 5
|
|
pipe 6
|
|
pipe 7
|
|
pipe 8
|
|
pipe 9
|
|
pipe 10
|
|
pipe 11
|
|
pipe 12
|
|
Checking for infinite loops in no-execute
|
|
before comment after comment
|
|
source argv {}
|
|
source argv {}
|
|
source argv {abc}
|
|
source argv {abc def}
|
|
1
|