Skip to content

refactor(k8s): use grep for k8s segment#146

Merged
brujoand merged 2 commits into
brujoand:masterfrom
ianlewis:135-k8s-pcregrep
Jun 9, 2026
Merged

refactor(k8s): use grep for k8s segment#146
brujoand merged 2 commits into
brujoand:masterfrom
ianlewis:135-k8s-pcregrep

Conversation

@ianlewis

@ianlewis ianlewis commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

This PR updates the k8s segment to use grep rather than pcregrep. It still requires GNU grep but for most users it would be one less thing to install.

  • Also fixes a shellcheck error where the code of an ignored check seems to have changed.

ianlewis added 2 commits June 7, 2026 12:27
Signed-off-by: Ian Lewis <ian@ianlewis.org>
Signed-off-by: Ian Lewis <ian@ianlewis.org>
@ianlewis

ianlewis commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

It might also be possible to do this is pure bash via file reads rather than calling out to grep.

https://github.com/brujoand/sbp#is-this-really-just-bash

@brujoand brujoand merged commit 70325f6 into brujoand:master Jun 9, 2026
5 checks passed
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.

2 participants