parallel
[Top][All Lists]
Advanced

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

Re: {} as shell variable


From: Ole Tange
Subject: Re: {} as shell variable
Date: Thu, 24 Oct 2013 00:49:12 +0200

On Thu, Oct 24, 2013 at 12:02 AM, Rhys Ulerich <rhys.ulerich@gmail.com> wrote:

>> Here it seems it would be helpful if {} was also accessible as a shell
>> variable (e.g. as $P):
>>
>> parallel '/some/binary "${P:0:6}/$P"' ::: 20131017 20131018
:
>> IF it is a good idea what should the variable be named?
>
> What are the collection of shell-supported operations you anticipate
> being useful in this context?

I am not going to anticipate and invent a syntax for flexible
token-field extraction.

If anything I will implement FEX compatible syntax:
http://www.semicomplete.com/projects/fex/

/Ole



reply via email to

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