News for hackers. Stuff that matters.
Re:Linux Namespaces Are a Poor Man's Plan 9 Namespaces by salawat on Wednesday June 21, 2023 @10:05AM (#36418612)
What's hard about "find . -regex <regex> -exec <stuff> /;"

Hardest thing that comes to mind is there's some slight portability differences to look out for between GNU find and BSD find that may require a quick man dive with relation to the max depth handling, but that's about it.

Re:Linux Namespaces Are a Poor Man's Plan 9 Namespaces by eschneider on Wednesday June 21, 2023 @03:20PM (#36423071)
Ah...find's "swiss army chainsaw" mode. So, so useful. :)
Re:Linux Namespaces Are a Poor Man's Plan 9 Namespaces by herewulf on Thursday June 22, 2023 @01:44AM (#36428391)
You just answered your own question because it's "\;" not "/;". And the "{}" placeholder syntax isn't exactly intuitive either (maybe there is some connection to awk or sed? I only know enough of those to be dangerous).

I've used find extensively in the past two decades and even read the man page (gasp) on occasion, but it's one coreutils command that I have always found cumbersome. I recently discovered fd and I have a feeling that I will be switching to that where I can, muscle memory be damned.