[PATCH xinit] startx: Pass vtX as long as the user did not specify one

Gaetan Nadon memsize at videotron.ca
Mon Apr 7 06:05:47 PDT 2014

On 14-04-07 07:42 AM, James Cloos wrote:
> But re commit 44915d6953076, 
> HG>          tty_num=$(echo "$tty" | grep -oE '[0-9]+$')
> Is grep -o available everwhere startx(1) runs?
> The posix page, grep.1p, does not mention -o.
> It looks like each of the BSDs have adopted it, but only midstream
> (eg, its documented in OpenBSD 5.0, but not in 4.9).
I looked in the autoconf manual:


    "Portable scripts can rely on the grepoptions -c, -l, -n, and -v,
    but should avoid other options"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140407/fbf02f57/attachment.html>

More information about the xorg-devel mailing list