Quoth Chris Down: > On 17 July 2013 19:43, Calvin Morrison <mutanttur...@gmail.com> wrote: > > Could we focus on the merit of the utility? > > I cannot imagine any period in time where this would have been useful > for me over a simple `set -- * && echo "$#"', but whatever floats your > boat. Dependencies are much more costly than a small amount of time > saved (and dirs with >100k files are very niche).
I basically agree, I don't deal with directories with enough files that ls|wc -l takes a noticable amount of time, and I doubt many people do. Still I could see it being useful sometimes, though. Chris, I've never used set like that, I shall have to look it up properly soon - thanks for sharing :)