TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Shell wildcard expansion (un)safety

3 pointsby yarapavan6 months ago

1 comment

gtsop6 months ago
I&#x27;ve been always using -r for grep so it never occured to me that such a thing could happen<p>Looks like user error to me tbh, similar to `rm -rf &#x2F;`. Should `rm` give a warning when &#x2F; is the argument?