Support for redirect with append bash 4
Bug #1611492 reported by
Mark Vanderwiel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash8 |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The classic and portable (Bash pre-4) way is:
cmd >> outfile 2>&1
A nonportable way, starting with Bash 4 is
cmd &>> outfile
Bashate chokes on this:
[E] E040: Syntax error: syntax error near unexpected token `>': ''
Changed in bash8: | |
status: | New → Confirmed |
To post a comment you must log in.