userspace: Add basic find utility

This is mostly working but is missing -exec and -ok support. It can
search files though :^)
This commit is contained in:
2026-07-08 05:46:56 +03:00
parent fa89645542
commit 3148c28c3d
7 changed files with 732 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
set(SOURCES
main.cpp
Node.cpp
Token.cpp
)
add_executable(find ${SOURCES})
banan_link_library(find ban)
banan_link_library(find libc)
install(TARGETS find OPTIONAL)