find: Implement `-ok[dir]` predicate. by hanbings · Pull Request #369 · uutils/findutils · GitHub
Skip to content

find: Implement -ok[dir] predicate.#369

Draft
hanbings wants to merge 5 commits into
uutils:mainfrom
hanbings:implement-8
Draft

find: Implement -ok[dir] predicate.#369
hanbings wants to merge 5 commits into
uutils:mainfrom
hanbings:implement-8

Conversation

@hanbings

Copy link
Copy Markdown
Collaborator

implement: #8

@cakebaker cakebaker linked an issue May 13, 2024 that may be closed by this pull request
@codecov

codecov Bot commented May 16, 2024

Copy link
Copy Markdown

@sylvestre sylvestre force-pushed the implement-8 branch 3 times, most recently from 36d1a4c to fe3e4d0 Compare June 28, 2024 07:06
@sylvestre

Copy link
Copy Markdown
Contributor

@hanbings do you have an update on this ? thanks :)

Comment thread src/find/matchers/exec.rs
path_to_file.to_string_lossy()
);
#[allow(clippy::explicit_write)]
write!(stdout(), "{}", tips).unwrap();

Copy link
Copy Markdown
Contributor

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 '?'

Copy link
Copy Markdown
Collaborator Author

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.

@sylvestre

Copy link
Copy Markdown
Contributor

@hanbings any plan to finish it ? thanks :)

@hanbings

hanbings commented Apr 5, 2025

Copy link
Copy Markdown
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FeatureComplete: implement ok[dir] predicate

3 participants