projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modern syntax for asgops & inits cause Donn's latest ccom rejects the old.
[unix-history]
/
usr
/
src
/
old
/
sh
/
sh.1
diff --git
a/usr/src/old/sh/sh.1
b/usr/src/old/sh/sh.1
index
1f83f05
..
b57bfa7
100644
(file)
--- a/
usr/src/old/sh/sh.1
+++ b/
usr/src/old/sh/sh.1
@@
-1,4
+1,4
@@
-.\" @(#)sh.1 6.
1
(Berkeley) %G%
+.\" @(#)sh.1 6.
3
(Berkeley) %G%
.\"
.TH SH 1 ""
.AT 3
.\"
.TH SH 1 ""
.AT 3
@@
-107,7
+107,7
@@
command is executed
.I name
is set to the next word in the
.B for
.I name
is set to the next word in the
.B for
-word list
+word list
.
If
.BI in \ word
\&...
If
.BI in \ word
\&...
@@
-328,6
+328,10
@@
Internal field separators, normally
.BR tab ,
and
.BR newline .
.BR tab ,
and
.BR newline .
+.B IFS
+is ignored if
+.I sh
+is running as root or if the effective user id differs from the real user id.
.PD
.RE
.PP
.PD
.RE
.PP
@@
-596,6
+600,14
@@
The following commands are executed in the shell process
and except where specified
no input output redirection is permitted for such commands.
.TP
and except where specified
no input output redirection is permitted for such commands.
.TP
+.B #
+For non-interactive shells, everything following the
+.B #
+is treated as a comment, i.e. the rest of the line is ignored.
+For interactive shells, the
+.B #
+has no special effect.
+.TP
.B :
No effect; the command does nothing.
.PD 0
.B :
No effect; the command does nothing.
.PD 0