Re: [PATCH 6/6] intro.1: Prompt is not % but $
From: Michael Kerrisk (man-pages) <hidden>
Date: 2015-03-06 13:48:07
On 03/06/2015 01:47 PM, saulery-GANU6spQydw@public.gmane.org wrote:
From: Stéphane Aulery <redacted>
Thanks, Stéphane. Applied. Cheers, Michael
quoted hunk
Signed-off-by: Stéphane Aulery <redacted> --- man1/intro.1 | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-)diff --git a/man1/intro.1 b/man1/intro.1 index a87a336..78ff28c 100644 --- a/man1/intro.1 +++ b/man1/intro.1@@ -95,9 +95,9 @@ A session might go like .nf .RB "knuth login: " aeb .RB "Password: " ******** -.RB "% " date +.RB "$ " date Tue Aug 6 23:50:44 CEST 2002 -.RB "% " cal +.RB "$ " cal August 2002 Su Mo Tu We Th Fr Sa 1 2 3@@ -106,37 +106,37 @@ Su Mo Tu We Th Fr Sa 18 19 20 21 22 23 24 25 26 27 28 29 30 31 -.RB "% " ls +.RB "$ " ls bin tel -.RB "% " "ls \-l" +.RB "$ " "ls \-l" total 2 drwxrwxr\-x 2 aeb 1024 Aug 6 23:51 bin \-rw\-rw\-r\-\- 1 aeb 37 Aug 6 23:52 tel -.RB "% " "cat tel" +.RB "$ " "cat tel" maja 0501\-1136285 peter 0136\-7399214 -.RB "% " "cp tel tel2" -.RB "% " "ls \-l" +.RB "$ " "cp tel tel2" +.RB "$ " "ls \-l" total 3 drwxr\-xr\-x 2 aeb 1024 Aug 6 23:51 bin \-rw\-r\-\-r\-\- 1 aeb 37 Aug 6 23:52 tel \-rw\-r\-\-r\-\- 1 aeb 37 Aug 6 23:53 tel2 -.RB "% " "mv tel tel1" -.RB "% " "ls \-l" +.RB "$ " "mv tel tel1" +.RB "$ " "ls \-l" total 3 drwxr\-xr\-x 2 aeb 1024 Aug 6 23:51 bin \-rw\-r\-\-r\-\- 1 aeb 37 Aug 6 23:52 tel1 \-rw\-r\-\-r\-\- 1 aeb 37 Aug 6 23:53 tel2 -.RB "% " "diff tel1 tel2" -.RB "% " "rm tel1" -.RB "% " "grep maja tel2" +.RB "$ " "diff tel1 tel2" +.RB "$ " "rm tel1" +.RB "$ " "grep maja tel2" maja 0501\-1136285 -% +$ .fi .RE and here typing Control-D ended the session. The -.B "% " +.B $ here was the command prompt\(emit is the shell's way of indicating that it is ready for the next command. The prompt can be customized
-- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html