From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73B1AC636CC for ; Sun, 5 Feb 2023 23:59:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229513AbjBEX7L (ORCPT ); Sun, 5 Feb 2023 18:59:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbjBEX7K (ORCPT ); Sun, 5 Feb 2023 18:59:10 -0500 Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06AEC14EA3 for ; Sun, 5 Feb 2023 15:59:09 -0800 (PST) Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTP id OStiprWIAl2xSOoubpRIhy; Sun, 05 Feb 2023 23:59:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1675641549; bh=/XtMR93P+AZDeJTlgyzTh4jl9/a2IhPzL4BbWZWEfyU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=EbV3Bupn5fOnXIyZzZvSfeDBnuhyi8r7pwlrJ1GWRI+5ferMLy6yxP4Jqphoy6un+ jZlo6guPIZGruhavwlYZbi3Fo8eOe23oI8yBB+IucnZjoPLI3UfHGUQL5NJ7XaQn8G 9yusW+E7iMG7/fqAP/ljecGod2P0hQuxjycGLVmcMpEOsxHucQCyQoQzx4+SH2MVXd t6KvD6pBClaWDDggGbiLq6h9WG09aZWELsu20Ozq8ZEEhfOui239B6vIJMP2a48zG5 5Qi/D4pFTz5rBQv71H7QYAD77jNgX6ug18z0utbR0hRG9hPfJ2Vk7DMi3jD5n5ZKB6 nflMp2+gbtVFQ== Received: from localhost.localdomain ([184.64.124.72]) by cmsmtp with ESMTP id OouZp57sIcyvuOouapez0i; Sun, 05 Feb 2023 23:59:09 +0000 X-Authority-Analysis: v=2.4 cv=VbHkgXl9 c=1 sm=1 tr=0 ts=63e042cd a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=qRjp-vNocqgEaXo8zv0A:9 a=QEXdDO2ut3YA:10 a=JOoHjOy4QlQUvr97Z3wA:9 a=B2y7HmGcmWMA:10 From: Brian Inglis To: Linux Man-Pages Cc: Alejandro Colomar Subject: [PATCH 06/11] man2/reboot.2: punctuate hex in docs with digit separators Date: Sun, 5 Feb 2023 16:58:50 -0700 Message-Id: <20230205235855.64261-2-Brian.Inglis@Shaw.ca> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230205235855.64261-1-Brian.Inglis@Shaw.ca> References: <20230205235855.64261-1-Brian.Inglis@Shaw.ca> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.39.0" Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfJpSF5yReTdztE18kIJhGCIdmbIwmOGDzveGHL8+Y8qiCf1C27Fn7teErUYyXVxNutgPNoEJTTuzbHouZy7U1TxR1URRbq5YGrLfbr7SbJroWb1F2/RQ M0JbNmwFsQLIGINMyI+Bd52kfZGUlWgadZSYuhODgXBcjKoTx32mvOW7SF1t0XZFMCwuqNVv8/5tkwQAhUJHLwE8twnPtkBXzsxFeAbJhg64fidhelY9/pwb IDvaX9VJvjyN0kpkI5FXWBu0oogTHBprEL9LclcMjKUBfk8jVzGvAfB9RTAWoCgr Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org This is a multi-part message in MIME format. --------------2.39.0 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit --- man2/reboot.2 | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) --------------2.39.0 Content-Type: text/x-patch; name="0006-man2-reboot.2-punctuate-hex-in-docs-with-digit-separ.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0006-man2-reboot.2-punctuate-hex-in-docs-with-digit-separ.patch" diff --git a/man2/reboot.2 b/man2/reboot.2 index d20fdf31a451..1d65bf18691d 100644 --- a/man2/reboot.2 +++ b/man2/reboot.2 @@ -47,20 +47,20 @@ unless .I magic equals .B LINUX_REBOOT_MAGIC1 -(that is, 0xfee1dead) and +(that is, 0xfee1\[aq]dead) and .I magic2 equals .B LINUX_REBOOT_MAGIC2 -(that is, 0x28121969). +(that is 0x2812\[aq]1969). However, since Linux 2.1.17 also .B LINUX_REBOOT_MAGIC2A -(that is, 0x05121996) +(that is 0x0512\[aq]1996) and since Linux 2.1.97 also .B LINUX_REBOOT_MAGIC2B -(that is, 0x16041998) +(that is 0x1604\[aq]1998) and since Linux 2.5.71 also .B LINUX_REBOOT_MAGIC2C -(that is, 0x20112000) +(that is 0x2011\[aq]2000) are permitted as values for .IR magic2 . (The hexadecimal values of these constants are meaningful.) @@ -81,7 +81,7 @@ proper action (maybe: kill all processes, sync, reboot). .TP .B LINUX_REBOOT_CMD_CAD_ON .RB ( RB_ENABLE_CAD , -0x89abcdef). +0x89ab\[aq]cdef). CAD is enabled. This means that the CAD keystroke will immediately cause the action associated with @@ -89,7 +89,7 @@ the action associated with .TP .B LINUX_REBOOT_CMD_HALT .RB ( RB_HALT_SYSTEM , -0xcdef0123; since Linux 1.1.76). +0xcdef\[aq]0123; since Linux 1.1.76). The message "System halted." is printed, and the system is halted. Control is given to the ROM monitor, if there is one. If not preceded by a @@ -98,7 +98,7 @@ data will be lost. .TP .B LINUX_REBOOT_CMD_KEXEC .RB ( RB_KEXEC , -0x45584543, since Linux 2.6.13). +0x4558\[aq]4543; since Linux 2.6.13). Execute a kernel that has been loaded earlier with .BR kexec_load (2). This option is available only if the kernel was configured with @@ -106,7 +106,7 @@ This option is available only if the kernel was configured with .TP .B LINUX_REBOOT_CMD_POWER_OFF .RB ( RB_POWER_OFF , -0x4321fedc; since Linux 2.1.30). +0x4321\[aq]fedc; since Linux 2.1.30). The message "Power down." is printed, the system is stopped, and all power is removed from the system, if possible. If not preceded by a @@ -115,7 +115,7 @@ data will be lost. .TP .B LINUX_REBOOT_CMD_RESTART .RB ( RB_AUTOBOOT , -0x1234567). +0x0123\[aq]4567). The message "Restarting system." is printed, and a default restart is performed immediately. If not preceded by a @@ -123,7 +123,7 @@ If not preceded by a data will be lost. .TP .B LINUX_REBOOT_CMD_RESTART2 -(0xa1b2c3d4; since Linux 2.1.30). +(0xa1b2\[aq]c3d4; since Linux 2.1.30). The message "Restarting system with command \(aq%s\(aq" is printed, and a restart (using the command string given in .IR arg ) @@ -134,7 +134,7 @@ data will be lost. .TP .B LINUX_REBOOT_CMD_SW_SUSPEND .RB ( RB_SW_SUSPEND , -0xd000fce1; since Linux 2.5.18). +0xd000\[aq]fce1; since Linux 2.5.18). The system is suspended (hibernated) to disk. This option is available only if the kernel was configured with .BR CONFIG_HIBERNATION . --------------2.39.0--