Bug 274897 - expand(1) man page contains spurious characters
Summary: expand(1) man page contains spurious characters
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Gordon Bergling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-04 05:37 UTC by Jamie Landeg-Jones
Modified: 2024-05-16 10:05 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jamie Landeg-Jones 2023-11-04 05:37:27 UTC
man expand

gives:

-t -Sm tab1, tab2, ..., tabn Sm

I don't think "-Sm" or the ending "Sm" should be there.
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-04-19 15:40:33 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=8993d785a261ee92528b44dae5a629ce389de412

commit 8993d785a261ee92528b44dae5a629ce389de412
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2024-04-19 15:39:37 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-04-19 15:39:37 +0000

    expand.1: Fix markup for the '-t' option

    When viewing the manpage the '-t' option is shown as follows

        -t -Sm tab1, tab2, ..., tabn Sm

    with the markup '\&Sm' included within '.It Fl t', which doesn't
    makes any sense.

    So just remove it.

    PR:     274897
    MFC after:      3 days

 usr.bin/expand/expand.1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-05-13 10:42:16 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=f3eeeb959c9b00c89a2e1ff009c78162eb398656

commit f3eeeb959c9b00c89a2e1ff009c78162eb398656
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2024-05-13 10:41:27 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2024-05-13 10:41:38 +0000

    expand: Fix markup for the `-t` option.

    PR:             274897
    Fixes:          8993d785a261
    MFC after:      3 days
    Reviewed by:    gbe
    Differential Revision:  https://reviews.freebsd.org/D45167

 usr.bin/expand/expand.1 | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-05-15 16:00:59 UTC
A commit in branch stable/14 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=0d230c89f5b39b06730bb43aa6e0cd0482dbd64a

commit 0d230c89f5b39b06730bb43aa6e0cd0482dbd64a
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2024-05-13 10:41:27 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2024-05-15 15:59:30 +0000

    expand: Fix markup for the `-t` option.

    PR:             274897
    Fixes:          8993d785a261
    MFC after:      3 days
    Reviewed by:    gbe
    Differential Revision:  https://reviews.freebsd.org/D45167

    (cherry picked from commit f3eeeb959c9b00c89a2e1ff009c78162eb398656)

 usr.bin/expand/expand.1 | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-05-15 16:01:00 UTC
A commit in branch stable/13 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=a4d054aa5cabcf3ad7991d186dc0c98e0152d2b4

commit a4d054aa5cabcf3ad7991d186dc0c98e0152d2b4
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2024-05-13 10:41:27 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2024-05-15 13:51:10 +0000

    expand: Fix markup for the `-t` option.

    PR:             274897
    Fixes:          8993d785a261
    MFC after:      3 days
    Reviewed by:    gbe
    Differential Revision:  https://reviews.freebsd.org/D45167

    (cherry picked from commit f3eeeb959c9b00c89a2e1ff009c78162eb398656)

 usr.bin/expand/expand.1 | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2024-05-16 10:05:14 UTC
A commit in branch releng/14.1 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=b45d038b5f7c3d4c972d656e08fea91e9059687b

commit b45d038b5f7c3d4c972d656e08fea91e9059687b
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2024-05-13 10:41:27 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2024-05-16 10:04:05 +0000

    expand: Fix markup for the `-t` option.

    PR:             274897
    Fixes:          8993d785a261
    MFC after:      3 days
    Reviewed by:    gbe
    Differential Revision:  https://reviews.freebsd.org/D45167

    (cherry picked from commit f3eeeb959c9b00c89a2e1ff009c78162eb398656)
    (cherry picked from commit 0d230c89f5b39b06730bb43aa6e0cd0482dbd64a)

    Approved by:    re (cperciva)

 usr.bin/expand/expand.1 | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)