A screenshot of a Reddit post on r/commandline by u/gumnos with the fun tag. Title: "TIL POSIX specifies a tool desinged to assist you with generated code." Body: "Given all the low-quality LLM-generated projects flooding r/commandline, it's valuable to know that POSIX provides a tool to review and modify code generated by LLMs, so I thought I'd bring this tool to the attention of this subreddit's members. In typical Unix fashion, the POSIX folks shortened ""review & modifying" to just two letters: `$rm code.rs` It even has command-line options to recursibly fix whole project-directories of LLM-generated code: `rm -rf project/` Handle it wisely, and I hope to see more use of it around here!"
you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 1 month ago

Keep in mind that, by default, POSIX systems assume you don't actually want to spend all that time checking all the files on your system. You need to also use the flag --no-preserve-root.

  • source
  • parent