[dev] Re: dmenu's lsx binary naming conflicts with lrzsz!

From: Christian Neukirchen <chneukirchen_AT_gmail.com>
Date: Mon, 28 Nov 2011 16:31:22 +0100

Hadrian Węgrzynowski <hadrian_AT_hawski.com> writes:

> On Mon, 28 Nov 2011 15:43:55 +0100
> Christian Neukirchen <chneukirchen_AT_gmail.com> wrote:
>
>>Connor Lane Smith <cls_AT_lubutu.com> writes:
>>
>>> On 28 November 2011 13:35, Christian Neukirchen
>>> <chneukirchen_AT_gmail.com> wrote:
>>>> Any reason we don't replace lsx with this?
>>>>
>>>>  find -L . -maxdepth 1 -type f -perm -111
>>>
>>> POSIX compatibility.
>>
>>All supported except for -maxdepth, but you can use:
>>
>>find -L . -type d \! -name . -prune -o -type f -perm -111 -print
>>
>
> It's so convenient.

Easier than rewriting find.

-- 
Christian Neukirchen  <chneukirchen_AT_gmail.com>  http://chneukirchen.org
Received on Mon Nov 28 2011 - 16:31:22 CET

This archive was generated by hypermail 2.3.0 : Mon Nov 28 2011 - 16:36:04 CET