BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] GNU xargs trick
- Subject: [Discuss] GNU xargs trick
- From: richard.pieri at gmail.com (Rich Pieri)
- Date: Wed, 27 Apr 2016 15:26:33 -0400
- In-reply-to: <chx37q69ac3.fsf@iceland.freeshell.org>
- References: <chx37q69ac3.fsf@iceland.freeshell.org>
On 4/27/2016 2:26 PM, Mike Small wrote: > I wondered about that but when I tried a little experiment it seemed > like it's probably not necessary. When I "cat | xargs -I{} ls {}" and > type some two word lines the files ls complains of being missing do seem It's a case-by-case thing just like shell variables. Quoting won't hurt for file names but it could screw you over if you're substituting command switches. > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518696 Yeah. parallel is the 800 pound gorilla, xargs is a kitten. Depends on whether you want a gorilla or a kitten. -- Rich P.
- References:
- [Discuss] GNU xargs trick
- From: smallm at sdf.org (Mike Small)
- [Discuss] GNU xargs trick
- Prev by Date: [Discuss] GNU xargs trick
- Next by Date: [Discuss] Fw: new message
- Previous by thread: [Discuss] GNU xargs trick
- Next by thread: [Discuss] GNU xargs trick
- Index(es):