Skip to main content
3 events
when toggle format what by license comment
Nov 2, 2017 at 15:44 comment added Charles Duffy (Contrast with printf '%s\0' *ABC* | xargs -0 ls -l, which avoids that limit by splitting into multiple ls invocations if there are more names than just one can handle).
Nov 2, 2017 at 15:36 comment added Charles Duffy It's important to distinguish that in the *ABC* case, the list of filenames is generated by the shell before ls is even started. This implies some limits not present in the ls | grep case -- the local platform's maximum command-line length is pertinent.
Nov 2, 2017 at 15:29 history answered segfault CC BY-SA 3.0