summaryrefslogtreecommitdiff
path: root/doc/bashref.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bashref.texi')
-rw-r--r--doc/bashref.texi9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/bashref.texi b/doc/bashref.texi
index d20c6079..55f9696f 100644
--- a/doc/bashref.texi
+++ b/doc/bashref.texi
@@ -1314,12 +1314,13 @@ to the filename used to invoke Bash, as given by argument zero.
@item _
(An underscore.)
-At shell startup, set to the absolute filename of the shell or shell
-script being executed as passed in the argument list.
+At shell startup, set to the absolute pathname used to invoke the
+shell or shell script being executed as passed in the environment
+or argument list.
Subsequently, expands to the last argument to the previous command,
after expansion.
-Also set to the full pathname of each command executed and placed in
-the environment exported to that command.
+Also set to the full pathname used to invoke each command executed
+and placed in the environment exported to that command.
When checking mail, this parameter holds the name of the mail file.
@end vtable