Hacker News new | ask | show | jobs
by amelius 1751 days ago
Doesn't the Linux "find" command stream directory contents like that?

Btw: many tools choke on directories with a large number of files. E.g. Bash autocomplete and Vim autocomplete. And there typically seems to be no way to abort these operations with Escape or Ctrl-C or Ctrl-\. Perhaps these tools could benefit from the approach taken here.

1 comments

Yes, it does. As does "ls" with the "-f" flag.