Skip to content

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