argotorg / argotorg/solidity

Stylecheck script fails on MacOS

Open
#13,492 3 comments 0 reactions 0 assignees View on GitHub
bug :bug: good first issue candidate low effort low impact nice to have testing :hammer:
Dominant language
C++
Stars
25.7k
Forks
6.2k
Avg merge
2d 19h
Merged PRs (30d)
29

Description

`scripts/check_style.sh` does not work on MacOS:
```
$ scripts/check_style.sh
grep: repetition-operator operand invalid

$ sysctl kern.version
kern.version: Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000
$ grep -V
grep (BSD grep, GNU compatible) 2.6.0-FreeBSD
```

Contributor guide

Open the contributing guide

Research direction

Start with scripts/check_style.sh and reproduce the failure on macOS using the command shown in the issue. Inspect the grep expression that triggers “repetition-operator operand invalid” and compare its behavior with the reported BSD grep version. Done means the stylecheck script runs successfully on macOS without that grep error.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, shell
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.