[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: {.} {/} {/.} ...
From: |
Cook, Malcolm |
Subject: |
RE: {.} {/} {/.} ... |
Date: |
Mon, 25 Apr 2011 10:50:13 -0500 |
Thanks, Jay, sure, that works fine and is what I'm doing now.
Similarly, $(basename {}) work instead of {.}
It is just a convenience factor that is easily coded around.
I think my request to have parallel exec the code in the directory containing
the file is perhaps more relevant.... what do you think?
Malcolm Cook
Stowers Institute for Medical Research - Bioinformatics
Kansas City, Missouri USA
> -----Original Message-----
> From: parallel-bounces+mec=stowers.org@gnu.org
> [mailto:parallel-bounces+mec=stowers.org@gnu.org] On Behalf
> Of Jay Hacker
> Sent: Monday, April 25, 2011 10:39 AM
> To: parallel@gnu.org
> Subject: Re: {.} {/} {/.} ...
>
> How about $(dirname {})? As in:
>
> find . | parallel 'echo $(dirname {})'
>
>
> On Fri, Apr 22, 2011 at 3:12 PM, Cook, Malcolm
> <MEC@stowers.org> wrote:
> > how about some syntax to get the dirname of {}
> >
> > maybe {..}
> >
> > ~malcolm
> >
>
>