Closed CyberJack closed 3 years ago
Describe the bug When the bit info command is run on a macOS, the regex used to fetch the status of submodules fails
bit info
sed: 1: "s/\([^abcdef0-9]\{,2\}\ ...": RE error: invalid repetition count(s)
The problem is that sed on macOS does not understand the {,2} quantifier. It must be changed to {0,2}.
sed
{,2}
{0,2}
To Reproduce Steps to reproduce the behavior:
Expected behavior When no submodules are used, I expect an empty section. When there are submodules, I expect information about the submodules.
Desktop (please complete the following information):
Fix
I already created a pull request for this: #83
The pull request is merged already. Thanks. I will close the ticket.
Describe the bug When the
bit info
command is run on a macOS, the regex used to fetch the status of submodules failsThe problem is that
sed
on macOS does not understand the{,2}
quantifier. It must be changed to{0,2}
.To Reproduce Steps to reproduce the behavior:
bit info
Expected behavior When no submodules are used, I expect an empty section. When there are submodules, I expect information about the submodules.
Desktop (please complete the following information):
Fix
I already created a pull request for this: #83