Thanks for fixing the docs.
I'm curious, though, why \s can not support the no-argument form
in the same way that \f and \F do.
-Jim
On 03/05/2013 12:07 AM, Werner LEMBERG wrote:
# \s[] causes a syntax error. According to 'info groff'
# \s with no argument should restore the previous point si
> # \s[] causes a syntax error. According to 'info groff'
> # \s with no argument should restore the previous point size
Ah, this is badly formulated in the info manual. The groff(7) manpage
documents it correctly.
`\s' *always* needs an numeric argument. So the valid forms to return
to the p
#!/bin/sh
# \s[] causes a syntax error. According to 'info groff'
# \s with no argument should restore the previous point size
# Such behavior would be consistent with \m \f and \F, so this seems
likely to be a bug
# (using groff 1.22.2 build from cvs)
groff -Tps <<'EOF' >/dev/null
.warn
.ps