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

Fix building of docs on FreeBSD #39

Merged
merged 1 commit into from
Oct 28, 2017
Merged

Conversation

der-lyse
Copy link
Contributor

These sed commands fail on FreeBSD as they're interpreted as extended
regular expressions. At least, that's what the error message suggests to
me. As it turns out using the -e option was wrong in the first place as
I thought this switch enables extended regex, which it doesn't. Correct
is either -r (GNU sed) or -E (BSD sed). Both implementations support the
other's flag as well, so it shouldn't matter which we actually use.

Thanks to imm_ on IRC for reporting this and confirming the fix!

These sed commands fail on FreeBSD as they're interpreted as extended
regular expressions. At least, that's what the error message suggests to
me. As it turns out using the -e option was wrong in the first place as
I thought this switch enables extended regex, which it doesn't. Correct
is either -r (GNU sed) or -E (BSD sed). Both implementations support the
other's flag as well, so it shouldn't matter which we actually use.

* https://www.freebsd.org/cgi/man.cgi?query=sed&sektion=&n=1
* https://stackoverflow.com/a/3139925

Thanks to imm_ on IRC for reporting this and confirming the fix!
@coveralls
Copy link

coveralls commented Oct 28, 2017

Coverage Status

Coverage remained the same at 35.768% when pulling f9f668b on der-lyse:fix-docs-build into ec4dab3 on newsboat:master.

@Minoru Minoru merged commit 2cdd33c into newsboat:master Oct 28, 2017
@Minoru
Copy link
Member

Minoru commented Oct 28, 2017

Thanks!

@der-lyse der-lyse deleted the fix-docs-build branch October 28, 2017 16:03
@Minoru Minoru added this to the 2.10.2 milestone Mar 20, 2018
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

3 participants