On Oct 8, 2014, at 11:34 AM, Matt <[email protected]> wrote: > Please note that the suggestions to shell out to "ls" are dangerous as "ls" > has a bunch of default options (some set by the environment) and will by > default try and sort (reading the whole directory into memory). > > At the minimum you want the "-1 -f" flags set.
Or `find . -maxdepth 1 -mindepth 1` And you can null-separate that way. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/C5899CEC-48B3-4DFE-8572-AB2D7684BBE2%40nbtsc.org. For more options, visit https://groups.google.com/d/optout.
