You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: en-US/Design.xml
+25-29Lines changed: 25 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -425,6 +425,21 @@ $ vi myFile.txt
425
425
<para>
426
426
Use line continuation characters without the associated PS2 prompts.
427
427
</para>
428
+
</listitem>
429
+
<listitem>
430
+
<para>
431
+
On Linux and macOS operating systems, use the Linux shell continuation character (\).
432
+
</para>
433
+
</listitem>
434
+
<listitem>
435
+
<para>
436
+
On Windows operating systems, use the backtick character (`).
437
+
</para>
438
+
</listitem>
439
+
<listitem>
440
+
<para>
441
+
For content that is potentially used in multiple operating systems, use the Linux shell continuation character, and include an explanatory sentence before the command.
442
+
</para>
428
443
</listitem>
429
444
</itemizedlist>
430
445
<!-- <important>
@@ -438,39 +453,20 @@ $ vi myFile.txt
438
453
<!-- You can use this option for any of these designs. -->
439
454
</para>
440
455
441
-
<!-- <example><title>Wrapping Long Commands with Continuation Characters and PS2 Prompts</title>
456
+
<example><title>Long Command Example</title>
442
457
<para>
443
-
This example uses both continuation characters and PS2 prompts.
444
-
</para>
445
-
446
-
<screen># tar --selinux -czvf config_files.tar.gz /etc/katello \
<example><title>Wrapping Long Commands Without Continuation Characters or PS2 Prompts</title>
458
+
If the <systemitem>memory</systemitem> machine pool does not exist, then create it.
459
+
</para>
454
460
<para>
455
-
This example uses neither continuation characters nor PS2 prompts, but it does show how to use line indentation to help to clarify long commands.
461
+
On a Microsoft Windows system, replace the line continuation character (\) in the following long command with the backtick character (`), which is the line continuation character in PowerShell.
0 commit comments