Sun Apr 30 16:02:48 2017 UTC ()
Uppercase UID. Fix typo.


(wiz)
diff -r1.132 -r1.133 src/bin/sh/sh.1

cvs diff -r1.132 -r1.133 src/bin/sh/sh.1 (expand / switch to unified diff)

--- src/bin/sh/sh.1 2017/04/29 15:26:44 1.132
+++ src/bin/sh/sh.1 2017/04/30 16:02:48 1.133
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: sh.1,v 1.132 2017/04/29 15:26:44 kre Exp $ 1.\" $NetBSD: sh.1,v 1.133 2017/04/30 16:02:48 wiz Exp $
2.\" Copyright (c) 1991, 1993 2.\" Copyright (c) 1991, 1993
3.\" The Regents of the University of California. All rights reserved. 3.\" The Regents of the University of California. All rights reserved.
4.\" 4.\"
5.\" This code is derived from software contributed to Berkeley by 5.\" This code is derived from software contributed to Berkeley by
6.\" Kenneth Almquist. 6.\" Kenneth Almquist.
7.\" 7.\"
8.\" Redistribution and use in source and binary forms, with or without 8.\" Redistribution and use in source and binary forms, with or without
9.\" modification, are permitted provided that the following conditions 9.\" modification, are permitted provided that the following conditions
10.\" are met: 10.\" are met:
11.\" 1. Redistributions of source code must retain the above copyright 11.\" 1. Redistributions of source code must retain the above copyright
12.\" notice, this list of conditions and the following disclaimer. 12.\" notice, this list of conditions and the following disclaimer.
13.\" 2. Redistributions in binary form must reproduce the above copyright 13.\" 2. Redistributions in binary form must reproduce the above copyright
14.\" notice, this list of conditions and the following disclaimer in the 14.\" notice, this list of conditions and the following disclaimer in the
@@ -324,27 +324,27 @@ but can slow execution. @@ -324,27 +324,27 @@ but can slow execution.
324The 324The
325.Nm 325.Nm
326can be compiled to always use 326can be compiled to always use
327.Xr fork 2 327.Xr fork 2
328in which case altering the 328in which case altering the
329.Fl F 329.Fl F
330flag has no effect. 330flag has no effect.
331.It Fl h Em trackall 331.It Fl h Em trackall
332Bind commands in functions to file system paths when the function is defined. 332Bind commands in functions to file system paths when the function is defined.
333When off, 333When off,
334the file system is searched for commands each time the function is invoked. 334the file system is searched for commands each time the function is invoked.
335(Not implemented.) 335(Not implemented.)
336.It Fl p Em nopriv 336.It Fl p Em nopriv
337Do not attempt to reset effective uid if it does not match uid. 337Do not attempt to reset effective UID if it does not match UID.
338This is not set by default to help avoid incorrect usage by setuid 338This is not set by default to help avoid incorrect usage by setuid
339root programs via 339root programs via
340.Xr system 3 340.Xr system 3
341or 341or
342.Xr popen 3 . 342.Xr popen 3 .
343.It "\ \ " Em cdprint 343.It "\ \ " Em cdprint
344Make an interactive shell always print the new directory name when 344Make an interactive shell always print the new directory name when
345changed by the 345changed by the
346.Ic cd 346.Ic cd
347command. 347command.
348.It "\ \ " Em nolog 348.It "\ \ " Em nolog
349Prevent the entry of function definitions into the command history (see 349Prevent the entry of function definitions into the command history (see
350.Ic fc 350.Ic fc
@@ -2049,27 +2049,27 @@ is @@ -2049,27 +2049,27 @@ is
2049or its equivalent, EXIT, 2049or its equivalent, EXIT,
2050the action is executed when the shell exits. 2050the action is executed when the shell exits.
2051.Ar action 2051.Ar action
2052may be null, which cause the specified signals to be ignored. 2052may be null, which cause the specified signals to be ignored.
2053With 2053With
2054.Ar action 2054.Ar action
2055set to 2055set to
2056.Sq - 2056.Sq -
2057the specified signals are set to their default action. 2057the specified signals are set to their default action.
2058If the first 2058If the first
2059.Ar signal 2059.Ar signal
2060is specified in its numeric form, then 2060is specified in its numeric form, then
2061.Ar action 2061.Ar action
2062can be ommitted to achieve the same effect. 2062can be omitted to achieve the same effect.
2063This archaic, 2063This archaic,
2064but still standard, 2064but still standard,
2065form should not be relied upon, use the explicit 2065form should not be relied upon, use the explicit
2066.Sq - 2066.Sq -
2067action. 2067action.
2068.Pp 2068.Pp
2069When the shell forks off a subshell, it resets trapped (but not ignored) 2069When the shell forks off a subshell, it resets trapped (but not ignored)
2070signals to the default action. 2070signals to the default action.
2071On non-interactive shells, the 2071On non-interactive shells, the
2072.Ic trap 2072.Ic trap
2073command has no effect on signals that were 2073command has no effect on signals that were
2074ignored on entry to the shell. 2074ignored on entry to the shell.
2075On interactive shells, the 2075On interactive shells, the