[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tests: avoid problematic $(< file) shell construct

From: Eric Blake
Subject: Re: [PATCH] tests: avoid problematic $(< file) shell construct
Date: Mon, 16 Dec 2013 07:27:03 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

On 12/15/2013 12:59 PM, Bernhard Voelker wrote:

> +# Avoid problematic redirect-only statements in $(...) shell construct.
> +# Although the "man bash" states that this is faster, it does not seem
> +# to be portable.  Issues have been seen on dash v0.5.6 and on the shell
> +# on FreeBSD.
> +sc_prohibit_redirect_only_command_substitution:
> +     @prohibit='\$$\(<'              \

Shouldn't you also prevent $(> ...)?

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]