[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wrong command option in the manual examples
From: |
Chet Ramey |
Subject: |
Re: Wrong command option in the manual examples |
Date: |
Wed, 25 Sep 2019 14:44:04 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 9/25/19 2:11 PM, Ole Tange wrote:
> I think you are right. The goal is to emulate 'ls'.
>
> As you can see from GNU Parallel's manual I would use printf instead:
>
> printf '%s\0' * | parallel -0 mv {} destdir
This is the best option, with the usual caveat about having to change the
pattern if you have `dotglob' enabled.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- Wrong command option in the manual examples, hk, 2019/09/20
- Re: Wrong command option in the manual examples, Robert Elz, 2019/09/23
- Re: Wrong command option in the manual examples, Andreas Schwab, 2019/09/23
- Re: Wrong command option in the manual examples, Greg Wooledge, 2019/09/23
- Re: Wrong command option in the manual examples, Robert Elz, 2019/09/23
- Re: Wrong command option in the manual examples, Robert Elz, 2019/09/23
- Re: Wrong command option in the manual examples, Chet Ramey, 2019/09/23
- Re: Wrong command option in the manual examples, Robert Elz, 2019/09/24