From 43b1b9dc906f7f05c7510bc302f894b77f6ccd15 Mon Sep 17 00:00:00 2001 From: Julian Cable Date: Fri, 24 Nov 2023 12:27:46 +0000 Subject: [PATCH 1/2] Line continuation for multiple operating systems --- en-US/Design.xml | 54 ++++++++++++++++++++++-------------------------- 1 file changed, 25 insertions(+), 29 deletions(-) diff --git a/en-US/Design.xml b/en-US/Design.xml index 7d3ccae..bd37b65 100644 --- a/en-US/Design.xml +++ b/en-US/Design.xml @@ -425,6 +425,21 @@ $ vi myFile.txt Use line continuation characters without the associated PS2 prompts. + + + + On Linux and macOS operating systems, use the Linux shell continuation character (\). + + + + + On Windows operating systems, use instead the backtick character (`). + + + + + For content that is potentially used in multiple operating systems, use the Linux shell continuation character, and include an explanatory sentence before the command. + - - -Wrapping Long Commands with Continuation Characters and Without PS2 Prompts +$ aws iam create-policy --policy-name RosaCloudWatch \ + --policy-document file://policy.json --query Policy.Arn --output text +arn:aws:iam::452954386616:policy/RosaCloudWatch + - This example uses continuation characters but not PS2 prompts. - -[root@node]# cephadm bootstrap --mon-ip=MON_IP --registry-url=registry.redhat.io \ ---registry-username=REGISTRY_USERNAME --registry-password=REGISTRY_PASSWORD \ ---initial-dashboard-password=DASHBOARD_PASSWORD --dashboard-password-noupdate \ ---allow-fqdn-hostname - +The ARN in the preceding output is different on your system. + From 9843552398fb9879b962336f86f999a6fd900a67 Mon Sep 17 00:00:00 2001 From: Julian Cable Date: Mon, 27 Nov 2023 17:19:20 +0000 Subject: [PATCH 2/2] Minor edit --- en-US/Design.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en-US/Design.xml b/en-US/Design.xml index bd37b65..b772694 100644 --- a/en-US/Design.xml +++ b/en-US/Design.xml @@ -433,7 +433,7 @@ $ vi myFile.txt - On Windows operating systems, use instead the backtick character (`). + On Windows operating systems, use the backtick character (`).