Skip to content

fix batch-runner grep -P portability issue on macOS#176

Open
fahimimtiaz12 wants to merge 1 commit intosantifer:mainfrom
fahimimtiaz12:fix/batch-runner-grep-p-portability
Open

fix batch-runner grep -P portability issue on macOS#176
fahimimtiaz12 wants to merge 1 commit intosantifer:mainfrom
fahimimtiaz12:fix/batch-runner-grep-p-portability

Conversation

@fahimimtiaz12
Copy link
Copy Markdown
Contributor

Summary

Fix batch/batch-runner.sh score extraction so it does not rely on grep -P, which breaks on macOS/BSD grep.

Changes made

  • replaced grep -oP score parsing with portable sed -E parsing
  • kept the existing behavior of extracting the first score from the worker log

Related issue

Closes #141

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.

batch-runner.sh : grep: invalid option --p

1 participant