Skip to content

xargs: Error: Command could not be run: The filename or extension is too long. (os error 206) #160

Description

@jhudsoncedaron

The command I ran:

find src -name "*.json" -print0 | xargs -0 grep "centoscript-transform-named-subexpression" | cat

Apparently xargs doesn't know the real command line length limit

Trying to workaround resisted; I finally burned CPU by running

find src -name "*.json" -print0 | xargs -0 -n 1 grep "centoscript-transform-named-subexpression" | cat

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions