make help uses grep feature which isn't present on OpenBSD grep #5

Closed
opened 2020-09-05 16:19:25 +00:00 by paper · 2 comments
Contributor
% make help
targets:
grep: repetition-operator operand invalid

Using ggrep works as expected, so the solution could be to detect if we are on a (Open?)BSD system and use ggrep instead. Or the grep command could be changed to be more portable.

``` % make help targets: grep: repetition-operator operand invalid ``` Using `ggrep` works as expected, so the solution could be to detect if we are on a (Open?)BSD system and use `ggrep` instead. Or the grep command could be changed to be more portable.
Owner

I just pushed an update to the Makefile that replaces grep with awk. It works for me in testing on tilde.institute, which is on openbsd. Can you verify this fixes the issue for you as well?

I just pushed an update to the Makefile that replaces grep with awk. It works for me in testing on tilde.institute, which is on openbsd. Can you verify this fixes the issue for you as well?
Author
Contributor

I discovered it on tilde.institute :) so yes, it works now. Thanks a lot.

I discovered it on tilde.institute :) so yes, it works now. Thanks a lot.
paper closed this issue 2020-09-05 18:31:28 +00:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tomasino/pb#5
No description provided.