Skip to content
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

Avoid double negatives #112

Open
l0b0 opened this issue Mar 17, 2023 · 1 comment
Open

Avoid double negatives #112

l0b0 opened this issue Mar 17, 2023 · 1 comment

Comments

@l0b0
Copy link

l0b0 commented Mar 17, 2023

For example:

You shouldn’t use a pager if stdin or stdout is not an interactive terminal.

Could be written as:

Use a pager only if stdout is an interactive terminal.

(Also, why is stdin mentioned here? If I run grep foo < bar, stdin is not an interactive terminal, but I still would want a pager for grep's stdout.)

@bfirsh
Copy link
Member

bfirsh commented Mar 17, 2023

Thanks for the suggestion! Pull requests welcome. :)

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

No branches or pull requests

2 participants