Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

grep on language specific output is a bad idea #213

Closed
Stefal opened this issue Mar 18, 2022 · 0 comments · Fixed by #232
Closed

grep on language specific output is a bad idea #213

Stefal opened this issue Mar 18, 2022 · 0 comments · Fixed by #232
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@Stefal
Copy link
Owner

Stefal commented Mar 18, 2022

This command could return a wrong result with a non-US bash
(

if [[ $(df -kP ~/ | grep -v '^Filesystem' | awk '{ print $4 }') -lt 300000 ]]
)

@Stefal Stefal added bug Something isn't working enhancement New feature or request labels Mar 18, 2022
@Stefal Stefal self-assigned this Mar 18, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant