From nobody Wed May 15 16:00:04 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VfdGX4X4rz5L5Mt; Wed, 15 May 2024 16:00:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VfdGX2dqRz4STN; Wed, 15 May 2024 16:00:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715788804; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BcWXwB1QSSuGyH7InDlBhKiAdGshDlhGhQDrzLFTSTA=; b=YMFCjfwgxaCHlg/XRxDujBo6FDDvAamwZtNosYQtPas0WWI069KbImn3g30+4SKhy/20qi /LnxO9F22Sri0HzJCE5amq7L214Si0DA3G8TKROCLcwIeejWN5iLY9nXsxlKXTCY/+76x5 aeIJqIsBmCn6vlO96WeWB5CFueqz352nGWGcleRIR8ySK/uqNnAAiD65RfaEVLRtNjZ2/t Pw5QLDxRTVh+jO8arYStCZ5UAfdD73ANxic3lCFax7+7pTs7Wnji4xUYBjBja+wLJU8HLV uefp3XbQva1uZmLB75xQz7gV+d6UeTB3p39LzPr37HjsGpXKBGKe090bSrFbcw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715788804; a=rsa-sha256; cv=none; b=cUsIb+lBBxpZ6s+RsV5YxGCTmkx7rIcMzzesaeDdHOvkmTAaIYy/0F3LQS4Qg/v9u3x7vr n0LpzrZTsAaW6BsnKw4CHmVQeJi8r3Es+emAfbwGAsMSlKV277CkX4gkEH7bMHWXiHFlEQ jBZR+XaMCLqjNarA7woEPTvZ5qbYO7bUZ0Z82sWD3XDnH8aZnelLXKrQBF3zuG8/95j7+j e4/bDR90/QNgyBynZBUhTIGijtO7eqrXS4BSzZ6ZGRmYooEgYKiopFfD74nztFsLV9g0Xn DpIpqZ7MwJlfLRRQN3Tp20rG+CO7E5FiXMaGhEbFyNeDG+45jBnStePqcyMoIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715788804; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BcWXwB1QSSuGyH7InDlBhKiAdGshDlhGhQDrzLFTSTA=; b=D3LYw7LTT02eia68NjSJ3+hdP+WzCo1n4BnFjFiS+CRwQ+HpByjTL0uIocTXU7ic4jVP2q Yx0YmQh1uqCeNA11BXachsm4QkydSM5KRnH1feSduOkwqlTQjW0SC3n96JiTOwkLco/3um EBpXASZanEBOzlRob8FlYiztwzVEkil9LzYktUI0pvvh2UsDydA4yseAfIn6tgB5xU5H30 QLm+XIs3tRcz3DhEoMk+H/SBdlmEOSQ17uhdLPUGFpfwMmVZjJ7S6cGuc9SEC86FEdX3HX 9968KWgrGTlNyEXnECEGa7/22ZEBCKjvYyTLUuVs3LugFgWsIgKMLbrFsaj4kw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VfdGX2FW4zLZd; Wed, 15 May 2024 16:00:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44FG04oR056658; Wed, 15 May 2024 16:00:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44FG0434056653; Wed, 15 May 2024 16:00:04 GMT (envelope-from git) Date: Wed, 15 May 2024 16:00:04 GMT Message-Id: <202405151600.44FG0434056653@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= Subject: git: a4d054aa5cab - stable/13 - expand: Fix markup for the `-t` option. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: des X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: a4d054aa5cabcf3ad7991d186dc0c98e0152d2b4 Auto-Submitted: auto-generated The branch stable/13 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=a4d054aa5cabcf3ad7991d186dc0c98e0152d2b4 commit a4d054aa5cabcf3ad7991d186dc0c98e0152d2b4 Author: Dag-Erling Smørgrav AuthorDate: 2024-05-13 10:41:27 +0000 Commit: Dag-Erling Smørgrav 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(-) diff --git a/usr.bin/expand/expand.1 b/usr.bin/expand/expand.1 index 9a49deb1a948..c1e19891b1ab 100644 --- a/usr.bin/expand/expand.1 +++ b/usr.bin/expand/expand.1 @@ -80,9 +80,15 @@ If the .Fl a option is given, then tabs are inserted whenever they would compress the resultant file by replacing two or more characters. -.It Fl t \&Sm Ar tab1 , tab2 , ... , tabn \&Sm +.It Fl t Xo +.Sm off +.Ar tab1 , tab2 , ... , tabn +.Sm on +.Xc Set tab stops at column positions +.Sm off .Ar tab1 , tab2 , ... , tabn . +.Sm on If only a single number is given, tab stops are set that number of column positions apart instead of the default number of 8. .El