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

2011-11-30 Thread Christian Neukirchen
Truls Becken writes: > It seems that -prune in POSIX find is almost completely useless! No it's not, it just does what it says: -prune True; if the file is a directory, do not descend into it. (And yes, it's a shame -min/maxdepth aren't in POSIX; they are highly useful.) -- Christ

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

2011-11-30 Thread hiro
death is suckless, so please shut up

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

2011-11-30 Thread Martin Kopta
* is not suckless FTFY

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

2011-11-30 Thread hiro
POSIX is not suckless

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

2011-11-30 Thread Truls Becken
It seems that -prune in POSIX find is almost completely useless! "find . -prune" only returns "." "find * -prune" works, but has argument list length issues. "find . -mindepth 1 -prune" is fine, but not POSIX. -Truls

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

2011-11-29 Thread Bjartur Thorlacius
On Tue, 29 Nov 2011 20:36:07 -, Bjartur Thorlacius wrote: On Mon, 28 Nov 2011 14:43:55 -, Christian Neukirchen wrote: Connor Lane Smith writes: On 28 November 2011 13:35, Christian Neukirchen wrote: Any reason we don't replace lsx with this? find -L . -maxdepth 1 -type f

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

2011-11-29 Thread Bjartur Thorlacius
On Mon, 28 Nov 2011 14:43:55 -, Christian Neukirchen wrote: Connor Lane Smith writes: On 28 November 2011 13:35, Christian Neukirchen wrote: Any reason we don't replace lsx with this? find -L . -maxdepth 1 -type f -perm -111 POSIX compatibility. All supported except for -maxde

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

2011-11-29 Thread Connor Lane Smith
On 29 November 2011 19:09, Stephen Paul Weber wrote: > You're ok with using a util you built, but not a util someone else built? >  (I'm not defending GNU find, I'm just saying, stest is no more POSIX :) ) dmenu isn't defined by POSIX either; the difference is that stest is in the dmenu repo. I'm

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

2011-11-29 Thread Stephen Paul Weber
Somebody claiming to be Christian Neukirchen wrote: Connor Lane Smith writes: On 28 November 2011 13:35, Christian Neukirchen wrote: Any reason we don't replace lsx with this?  find -L . -maxdepth 1 -type f -perm -111 POSIX compatibility. You're ok with using a util you built, but not a

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

2011-11-28 Thread Christian Neukirchen
Troels Henriksen writes: > Christian Neukirchen writes: > >> Connor Lane Smith writes: >> >>> On 28 November 2011 13:35, Christian Neukirchen >>> wrote: Any reason we don't replace lsx with this?  find -L . -maxdepth 1 -type f -perm -111 >>> >>> POSIX compatibility. >> >> All s

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

2011-11-28 Thread Christian Neukirchen
Hadrian Węgrzynowski writes: > On Mon, 28 Nov 2011 15:43:55 +0100 > Christian Neukirchen wrote: > >>Connor Lane Smith writes: >> >>> On 28 November 2011 13:35, Christian Neukirchen >>> wrote: Any reason we don't replace lsx with this?  find -L . -maxdepth 1 -type f -perm -111 >>

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

2011-11-28 Thread Hadrian Węgrzynowski
On Mon, 28 Nov 2011 15:43:55 +0100 Christian Neukirchen wrote: >Connor Lane Smith writes: > >> On 28 November 2011 13:35, Christian Neukirchen >> wrote: >>> Any reason we don't replace lsx with this? >>> >>>  find -L . -maxdepth 1 -type f -perm -111 >> >> POSIX compatibility. > >All supported e

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

2011-11-28 Thread Connor Lane Smith
On 28 November 2011 14:43, Christian Neukirchen wrote: > All supported except for -maxdepth, but you can use: > > find -L . -type d \! -name . -prune -o -type f -perm -111 -print I've seen things like this before. All it does is prove how much find needs replacing. I'm considering using stest (ls

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

2011-11-28 Thread Troels Henriksen
Christian Neukirchen writes: > Connor Lane Smith writes: > >> On 28 November 2011 13:35, Christian Neukirchen >> 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 ca

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

2011-11-28 Thread Christian Neukirchen
Connor Lane Smith writes: > On 28 November 2011 13:35, Christian Neukirchen > 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

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

2011-11-28 Thread Connor Lane Smith
On 28 November 2011 13:35, Christian Neukirchen wrote: > Any reason we don't replace lsx with this? > >  find -L . -maxdepth 1 -type f -perm -111 POSIX compatibility. cls

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

2011-11-28 Thread Christian Neukirchen
Connor Lane Smith writes: > On 27 November 2011 23:13, Roger wrote: >> Very well.  I'm considering renaming lsx to dmenu_lsx and it looks like lsx's >> only occurance is within /usr/bin/dmenu_run?  Or is the name change going to >> break anything else? > > Correct, it only appears in dmenu_run.