Hacker News Re-Imagined

Xargs Considered Harmful

  • 4 points
  • 1 month ago

  • @signa11
  • Created a post

Xargs Considered Harmful


@thayne 1 month

Replying to @signa11 🎙

The proposed replacements don't always work. Using `$()` doesn't handle if the command exceeds the max size for a command with it's arguments and environment. Piping to bash has its own problems, like needing to escape things properly and hope your input doesn't have any special characters.

Reply


About Us

site design / logo © 2021 Box Piper