ranger-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ranger-users] Bulk-anything command


From: Wojciech Siewierski
Subject: Re: [Ranger-users] Bulk-anything command
Date: Sat, 24 Jun 2017 10:24:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

On 22.06.2017 16:05, Roger Pate wrote:
> On Thu, Jun 22, 2017 at 9:42 AM, John Z. <address@hidden> wrote:
>>     :shell echo %s | tr " " "\n" | xargs -L 1 <command>.
> :shell printf %%s\\n %s | xargs...
I would still strongly suggest using \\0 instead of \\n and adding -0 to
the xargs flags. If we're controlling the input format, \\0 as a
separator is just better with no downsides. POSIX filepaths technically
can contain newlines but not the NUL-characters.

-- vifon

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]