Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15430

Re: Wrong command option in the manual examples

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Wrong command option in the manual examples
Date 2019-09-25 14:44 -0400
Message-ID <mailman.1100.1569437062.2190.bug-bash@gnu.org> (permalink)
References (1 earlier) <38052651-6d67-6107-660c-707ca39ee00c@case.edu> <59cf49b0-1292-b752-4fe8-8928fd558ebf@iki.fi> <3620768a-c85c-a95b-dae7-314145e2a0ed@case.edu> <CA+4vN7yKkoiNdYfJDteoOtDAqqvR8fpiAkX18EvcsgDm_+SnWw@mail.gmail.com> <4b3cfa36-3fbd-234c-0060-01596c237a1e@case.edu>

Show all headers | View raw


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/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Wrong command option in the manual examples Chet Ramey <chet.ramey@case.edu> - 2019-09-25 14:44 -0400

csiph-web