Remove caret redirection

This removes the caret as a shorthand for redirecting stderr.

Note that stderr may be redirected to a file via 2>/some/path...
and may be redirected with a pipe via 2>|.

Fixes #4394
This commit is contained in:
Peter Ammon
2018-04-01 13:43:05 -07:00
parent 7659554dea
commit 5b489ca30f
11 changed files with 28 additions and 47 deletions

View File

@@ -35,7 +35,7 @@ function test_file
echo -n "Testing file $file ... "
../test/root/bin/fish <$file >$base.tmp.out ^$base.tmp.err
../test/root/bin/fish <$file >$base.tmp.out 2>$base.tmp.err
set -l exit_status $status
set -l res ok