Re: backtick -C

From: Vallo Kallaste <kalts_at_estpak.ee>
Date: Thu, 3 Apr 2014 17:12:42 +0300

On Thu, Apr 03, 2014 at 02:54:12PM +0100, Laurent Bercot
<ska-skaware_at_skarnet.org> wrote:

> >I noticed that backtick -C does not work for preceding spaces, but
> >import -C does. Is it intentional?
>
> -C | -c | -d | -s only make sense when backtick is performing the
> substitution itself, i.e. with the -E option (which is deprecated).
>
> In your examples, backtick puts the value into the environment, and
> you perform the substitution explicitly with import. Value
> transformations are only done at substitution time, so backtick's -C
> option doesn't do anything.
> I should probably print a warning or error message when value
> transformations are used without -E, but then again, -E is going
> away soon.

Ah yes, now I remember that I've stumbled onto it before. Not a good
sign, either I'm getting old or spending little time with execline :)
-- 
Vallo
Received on Thu Apr 03 2014 - 14:12:42 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC