]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
intro.1: Drop intro paragraph on '$?' shell variable
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 8 May 2015 11:13:03 +0000 (13:13 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 8 May 2015 11:13:03 +0000 (13:13 +0200)
As Andries notes, this piece of text is rather out of place in
a page that was intended to provide a tutorial introduction for
beginners logging in on a Linux system.

Reported-by: Andries E. Brouwer <Andries.Brouwer@cwi.nl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man1/intro.1

index c507b1c6c1405d058b853ee296cd4f823eea2448..d4ec2b9ae26754918f9cfdeb0cc7f8d1e21fcba8 100644 (file)
@@ -22,9 +22,6 @@
 .\" the source, must acknowledge the copyright and authors of this work.
 .\" %%%LICENSE_END
 .\"
-.\" 2007-10-23 mtk Added intro paragraph about section, plus a paragraph
-.\"     about exit status values.
-.\"
 .TH INTRO 1 2015-03-29 "Linux" "Linux User's Manual"
 .SH NAME
 intro \- introduction to user commands
@@ -32,19 +29,6 @@ intro \- introduction to user commands
 Section 1 of the manual describes user commands and tools,
 for example, file manipulation tools, shells, compilers,
 web browsers, file and image viewers and editors, and so on.
-
-All commands yield a status value on termination.
-This value can be tested (e.g., in most shells the variable
-.I $?
-contains the status of the last executed command)
-to see whether the command completed successfully.
-A zero exit status is conventionally used to indicate success,
-and a nonzero status means that the command was unsuccessful.
-(Details of the exit status can be found in
-.BR wait (2).)
-A nonzero exit status can be in the range 1 to 255, and some commands
-use different nonzero status values to indicate the reason why the
-command failed.
 .SH NOTES
 Linux is a flavor of UNIX, and as a first approximation
 all user commands under UNIX work precisely the same under