Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added support for OpenBSD #34

Merged
merged 1 commit into from
Jan 23, 2024
Merged

added support for OpenBSD #34

merged 1 commit into from
Jan 23, 2024

Conversation

anoduck
Copy link

@anoduck anoduck commented Jan 23, 2024

The later changes to fnt search (line 220-226) are potentially not needed. They were added because OpenBSD uses old-school non-gnu sed and grep, and in my experience this can can cause issues.

fnt
else
curl -s "$GINDEX/ofl/" |grep "a href" |sed 's,.*">,google-,;s,/.*,,' |grep -v "\.\.$" | awk "/$2/"
curl -s "$GINDEX/apache/" |grep "a href" |sed 's,.*">,google-,;s,/.*,,' |grep -v "\.\.$" | awk "/$2/"
fi
Copy link
Author

Choose a reason for hiding this comment

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

It is the above six lines that may or may not be necessary. As stated previously, this is because of OpenBSD using the older versions of grep and sed.

@alexmyczko alexmyczko merged commit fbf1662 into alexmyczko:main Jan 23, 2024
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.

None yet

2 participants