[pacman-dev] [PATCH] makepkg: remove bash4 style output redirection
dpmcgee at gmail.com
Sun Jun 20 21:47:05 EDT 2010
On Sun, Jun 20, 2010 at 8:38 PM, Allan McRae <allan at archlinux.org> wrote:
> On 21/06/10 03:25, Andres P wrote:
>> 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  is just wrong.
>>>> # Redirect both stdout and stderr to file "filename."
>>>> # This operator is now functional, as of Bash 4, final release.
>>>  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
> I have tested and it looks like this has always worked in bash. Testing
> v3.0 on an old FC3 install showed no issues. I can only assume there must
> be some bug in it for the comment in  to be made, but until we strike it,
> I think there is no need to patch these out.
OK, we'll scratch this patch then.
More information about the pacman-dev