On Thu, Oct 06, 2016 at 08:34:31PM +0100, Jason McIntyre wrote:
> On Thu, Oct 06, 2016 at 09:27:21PM +0200, Michal Mazurek wrote:
> >
> > Don't place a space after the minus sign. Change from this:
> > width in columns. Otherwise, ps defaults to the terminal width
> > - 1, or 79 columns if none of stdout, stderr and stdin are a
> > To this:
> > width in columns. Otherwise, ps defaults to the terminal width
> > -1, or 79 columns if none of stdout, stderr and stdin are a
> >
>
> i think it's correct as it is. you write 10 minus 7 as 10 - 7, not 10 -7,
> right?
That's right, but the problem is an unfortunate line break in the
rendered page:
COLUMNS If set to a positive integer, output is formatted to the given
width in columns. Otherwise, ps defaults to the terminal width
− 1, or 79 columns if none of stdout, stderr and stdin are a
terminal.
I would suggest to just spell out '-' as minus.
>
> jmc
>
> > Index: bin/ps/ps.1
> > ===================================================================
> > RCS file: /cvs/src/bin/ps/ps.1,v
> > retrieving revision 1.109
> > diff -u -p -r1.109 ps.1
> > --- bin/ps/ps.1 23 Sep 2016 06:28:08 -0000 1.109
> > +++ bin/ps/ps.1 6 Oct 2016 19:24:51 -0000
> > @@ -543,7 +543,7 @@ If set to a positive integer,
> > output is formatted to the given width in columns.
> > Otherwise,
> > .Nm
> > -defaults to the terminal width \(mi 1,
> > +defaults to the terminal width \(mi1,
> > or 79 columns if none of
> > .Dv stdout ,
> > .Dv stderr
> >
> > --
> > Michal Mazurek
> >
>