[Bug 220668] x11/xinit: Incorrectly calculates $displayname used by xauth
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jul 30 14:44:16 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220668
--- Comment #9 from Vladimir Kondratyev <wulf at freebsd.org> ---
(In reply to Matthew Rezny from comment #8)
> There is an upstream commit which corrects the syntax in both regards (removes match and use of ERE syntax) but neglects the guard parenthesis.
If I run startx with -nolisten tcp option and without parenthesis applied I get
following error as expr treats -nolisten as own option:
$ /usr/local/bin/startx -- -nolisten tcp
expr: illegal option -- n
expr: usage: expr [-e] expression
This error is harmless but I dislike the message.
Other way to fix it is to place "x" before both string and regex:
if expr "x$i" : '^xvt[0-9]\+$'
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-x11
mailing list