-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
find: Implement -ok[dir]
predicate.
#369
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #369 +/- ##
==========================================
- Coverage 66.51% 66.32% -0.19%
==========================================
Files 36 36
Lines 4366 4380 +14
Branches 982 984 +2
==========================================
+ Hits 2904 2905 +1
- Misses 1062 1072 +10
- Partials 400 403 +3 ☔ View full report in Codecov by Sentry. |
36d1a4c
to
fe3e4d0
Compare
@hanbings do you have an update on this ? thanks :) |
fe3e4d0
to
18b88ff
Compare
path_to_file.to_string_lossy() | ||
); | ||
#[allow(clippy::explicit_write)] | ||
write!(stdout(), "{}", tips).unwrap(); |
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.
POSIX specifies
- The -ok primary shall write a prompt to standard error
- In the POSIX locale, the last non-<blank> in the prompt shall be '?'
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.
Thanks! I overlooked these, I will fix them later.
implement: #8