Skip to content

Update grep command to exclude deepce.sh results#46

Open
Breinich wants to merge 1 commit into
stealthcopter:mainfrom
Breinich:main
Open

Update grep command to exclude deepce.sh results#46
Breinich wants to merge 1 commit into
stealthcopter:mainfrom
Breinich:main

Conversation

@Breinich
Copy link
Copy Markdown

@Breinich Breinich commented May 29, 2026

Alpine has a stripped down grep, which does not support the options used in the original deepce.sh

This should fix #13

Copilot AI review requested due to automatic review settings May 29, 2026 11:11
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the root-directory “secrets grep” to avoid noisy errors while excluding matches from deepce.sh.

Changes:

  • Replaces --exclude="deepce.sh" with a post-filter that removes /deepce.sh matches.
  • Suppresses stderr from grep when scanning /*.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread deepce.sh

# Any secrets in root dir files
result=$(grep -Iins --exclude="deepce.sh" "$GREP_SECRETS" /*)
result=$(grep -ins "$GREP_SECRETS" /* 2>/dev/null | grep -v "^/deepce.sh:")
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.

Grep Unrecognized option | BusyBox

2 participants