Originally created by @jollyjinx on GitHub (Dec 14, 2015).
Currently the regex for hostnames seems to be incorrectly escaped as hostnames like smokeping.example.com are incorrectly parsed.
I've doubled escaped the:
sed 's/^\s_//g;s/\s_$//g'
to:
sed 's/^\s_//g;s/\s_$//g'
and now it works for me.
Originally created by @jollyjinx on GitHub (Dec 14, 2015).
Currently the regex for hostnames seems to be incorrectly escaped as hostnames like smokeping.example.com are incorrectly parsed.
I've doubled escaped the:
sed 's/^\s_//g;s/\s_$//g'
to:
sed 's/^\\s_//g;s/\\s_$//g'
and now it works for me.
Mh... tiny problem with this: BSD version of sed behaves different than GNU version...
The original line worked fine with GNU sed but had problems with BSD sed,
the "fixed" line is exactly the other way round...
Need to find a solution for this :-/
@lukas2511 commented on GitHub (Dec 15, 2015):
Mh... tiny problem with this: BSD version of sed behaves different than GNU version...
The original line worked fine with GNU sed but had problems with BSD sed,
the "fixed" line is exactly the other way round...
Need to find a solution for this :-/
Oops well actually, the "fixed" version actually just doesn't work at all, it doesn't remove the whitespace, it just passes the line as is.
@lukas2511 commented on GitHub (Dec 16, 2015):
Oops well actually, the "fixed" version actually just doesn't work at all, it doesn't remove the whitespace, it just passes the line as is.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @jollyjinx on GitHub (Dec 14, 2015).
Currently the regex for hostnames seems to be incorrectly escaped as hostnames like smokeping.example.com are incorrectly parsed.
I've doubled escaped the:
sed 's/^\s_//g;s/\s_$//g'
to:
sed 's/^\s_//g;s/\s_$//g'
and now it works for me.
@lukas2511 commented on GitHub (Dec 15, 2015):
Mh... tiny problem with this: BSD version of sed behaves different than GNU version...
The original line worked fine with GNU sed but had problems with BSD sed,
the "fixed" line is exactly the other way round...
Need to find a solution for this :-/
@lukas2511 commented on GitHub (Dec 16, 2015):
Oops well actually, the "fixed" version actually just doesn't work at all, it doesn't remove the whitespace, it just passes the line as is.