On 6/16/15 10:20 AM, idal...@idallen.ca wrote:
> Bash Version: 4.3
> Patch Level: 30
> Release Status: release
>
> Description:
> I don't know if this bug applies to bash or to bash-completion.
> Reference: "man bash" section "Redirecting Output"
>
> Filename TAB completion breaks us
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKA
Michael Le Barbier Grünewald writes:
> Nevertheless, when evaluating the second snippet
>
>failwith()
>{
> 1>&2 {
>printf 'Failure: '
>printf "$@"
>printf '\n'
> }
> exit 1
>}
>
> bash does not report the synta
Greg Wooledge writes:
> On Tue, Jun 16, 2015 at 01:56:31PM +0200, Michael Le Barbier Grünewald wrote:
>> 1>&2 {
>> printf "$@"
>> printf '\n'
>> }
>
> Redirections may appear anywhere in a simple command, but may only appear
> at the END of a compound c
Hi Greg,
thank you for your answer!
> On 16 Jun 2015, at 14:58, Greg Wooledge wrote:
>
> On Tue, Jun 16, 2015 at 01:56:31PM +0200, Michael Le Barbier Grünewald wrote:
>> 1>&2 {
>>printf "$@"
>>printf '\n'
>> }
>
> Redirections may appear anywhere in a
On Tue, Jun 16, 2015 at 01:56:31PM +0200, Michael Le Barbier Grünewald wrote:
> 1>&2 {
> printf "$@"
> printf '\n'
> }
Redirections may appear anywhere in a simple command, but may only appear
at the END of a compound command. Brace grouping is a compou
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: darwin14.3.0
Compiler: /usr/bin/clang
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='d\
arwin14.3.0' -DCONF_MACHTYPE='x86_64-apple-darwin14.3.0' -DCONF_VENDOR='apple' \
-DLOCALEDIR