Re: [PATCH] ls: adding --zero/-z option, including tests (original) (raw)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
From: | Bernhard Voelker |
---|---|
Subject: | Re: [PATCH] ls: adding --zero/-z option, including tests |
Date: | Mon, 03 Feb 2014 20:27:23 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
On 02/03/2014 04:27 PM, Pádraig Brady wrote:
However ls is really a tool for direct consumption by a human, and in that case further processing is less useful. For futher processing, find(1) is more suited.
Furthermore, it might be a bit tricky to mutually exclude other formatting options like -l (ell), -1 (one) ... and some of these might even be defined in the LS_OPTIONS environment variable.
The problem is that find(1) doesn't have options for sorting by size or mtime like ls already has, unfortunately ... but OTOH, ls' output is not suitable for -z when it comes to recursion (-R).
Thus, I'm also 60:40 against adding it, as the most powerful use would probably be recursion.
Have a nice day, Berny
- [PATCH] ls: adding --zero/-z option, including tests, Anthon van der Neut, 2014/02/03
- Re: [PATCH] ls: adding --zero/-z option, including tests, Pádraig Brady, 2014/02/03
* Re: [PATCH] ls: adding --zero/-z option, including tests,Bernhard Voelker <=
- Re: [PATCH] ls: adding --zero/-z option, including tests, Pádraig Brady, 2014/02/03
- Prev by Date:Re: [PATCH] ls: adding --zero/-z option, including tests
- Next by Date:Re: [PATCH] head,tail: consistently diagnose write errors
- Previous by thread:Re: [PATCH] ls: adding --zero/-z option, including tests
- Next by thread:Re: [PATCH] head,tail: consistently diagnose write errors
- Index(es):