The >& form is only for file descriptors, passing a file name there is
a bash extension.
$ /bin/dash -c 'echo foo >&/dev/null'
/bin/dash: 1: Syntax error: Bad fd number
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| all.do | ||
| clean.do | ||
The >& form is only for file descriptors, passing a file name there is
a bash extension.
$ /bin/dash -c 'echo foo >&/dev/null'
/bin/dash: 1: Syntax error: Bad fd number
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| all.do | ||
| clean.do | ||