Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • +1 - although the argument length limit is likely significantly larger than 256 characters. See for example What is a canonical way to find the actual maximum argument list length? Commented Jan 5, 2020 at 14:36
  • Note the "functionally equal" commands that you mention are only functionally equal if the number of files in the current directory is small. Also, using xargs -n 1 wc -l on the right hand side would not work as soon as a filename contains a space, tab or newline. Commented Jan 5, 2020 at 15:16