Discussion:
[ast-developers] Documentation for AST ls has runaway underlining
Terrence J. Doyle
2015-01-11 01:27:16 UTC
Permalink
The nroff documnetation for ls (/opt/ast/bin/ls --nroff 2>&1 | nroff
-man | less -s) appears to have a case of runaway underlining. It starts
with the -Z option in this phrase:

%[−+][width[.precis[.base]]](id[:subformat])fIchar.

In src/lib/libcmd/ls.c the optget() text for this phrase appears as:


%[-+]][\awidth\a[.\aprecis\a[.\abase\a]]]]]](\aid\a[:\asubformat\a]])\achar\a.

This looks OK in my limited experience. I think this might be an
optget() translation error. That might explain the "fI" (fragment of a
t/nroff directive?) before "char".

I'll leave the fix for this one to more experienced hands. It's
rather minor, anyway. But, if there's a bug in optget(), I thought you'd
like to know.

Terrence Doyle
Terrence J. Doyle
2015-01-11 01:37:15 UTC
Permalink
Please, disregard the attachments in the previous message I sent on
this subject. They're untested and meant for another message I'll be
sending at a later date.

Terrence Doyle

Loading...