Re:Linux Namespaces Are a Poor Man's Plan 9 Namespaces
by amstan on Wednesday June 21, 2023 @01:54AM
(#36414897)
Hear hear. When I use find I only use it for the recursive dir listing with no arguments. I always pipe it into grep because I know grep better.
[ Parent
| on HN ]
Re:Linux Namespaces Are a Poor Man's Plan 9 Namespaces
by e12e on Wednesday June 21, 2023 @03:21AM
(#36415440)
Hard to grep a list of path names for size or last modification date?
When I saw the start of this thread, I thought abusing "du" for "find" sounded insane - but after mulling it over - I guess du is just a recursive stat(1).
And I can see the logic; have a tool that builds a tree of metadata, filter with a tool that... filters.
However - as far as i can tell, du/grep on plan9 can't fill in for find(1) - but the idea (above) would probably fit with PowerShell or other "typed/rich streams" kind of shell...