[pacman-dev] [PATCH] makepkg: remove bash4 style output redirection

Andres P aepd87 at gmail.com
Sun Jun 20 13:25:59 EDT 2010


On Sun, Jun 20, 2010 at 12:19 PM, Cedric Staniewski <cedric at gmx.ca> wrote:
> I don't have access to a bash3 anymore, but you're right. It's mentioned
> in bash-3.2.48's man page. Maybe there was a bug that prevented it from
> working correctly or [1] is just wrong.
>
>>    &>filename
>>       # Redirect both stdout and stderr to file "filename."
>>       # This operator is now functional, as of Bash 4, final release.
>
>
> [1] http://tldp.org/LDP/abs/html/io-redirection.html
>

No, the bash 4 only construct is appending:
$ foo &>> bar

Redirs of the form &>, which a *single* >, are fully functional in bash 3.2

Andres P


More information about the pacman-dev mailing list