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

syschdemd: Don't add an extra :, make robust against grep aliases #197

Merged
merged 1 commit into from
Jan 10, 2023

Conversation

SuperSandro2000
Copy link
Member

grep adds a final newline which the second tr turns into an extra : By using a null byte and telling grep to treat it as text we can avoid this.

Also guard the grep against the alias in my shell :)

grep adds a final newline which the second tr turns into an extra :
By using a null byte and telling grep to treat it as text we can avoid
this.

Also guard the grep against the alias in my shell :)
@K900 K900 merged commit 217178e into nix-community:main Jan 10, 2023
@SuperSandro2000 SuperSandro2000 deleted the PATH-robust branch January 10, 2023 15:57
@nzbr nzbr added the enhancement New feature or request label Jul 28, 2023
@nzbr nzbr changed the title Don't add an extra :, make robust against grep aliases syschdemd: Don't add an extra :, make robust against grep aliases Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants