[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GNU Parallel Bug Reports Basename of input line
From: |
Cyril Bordage |
Subject: |
GNU Parallel Bug Reports Basename of input line |
Date: |
Fri, 2 Sep 2016 13:16:16 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
Hi,
I am wondering why '{/}' is not behaving like the basename command when
the string ends with a slash. What is the benefit?
It is a problem for me when I want to do something like that,f on
folders only:
parallel echo {/} ::: /tmp/*/
The result is different from this command:
for i in /tmp/*/; do echo $(basename $i); done
Thanks.
Rools.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- GNU Parallel Bug Reports Basename of input line,
Cyril Bordage <=