Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gdb): use POSIX-compatible find expression
We here use the technique for "-mindepth 1 -maxdepth 1" explained in https://unix.stackexchange.com/a/330372/121088 We first suffix "/." to each directory name, and skip the top level directory by "-name . -o". Then we skip the level-1 directories and their contents with "-type -d -prune -o". Finally we check the permission and print the files.
- Loading branch information
73938cd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based and POSIXpilled