diff options
author | axel <axel@liljencrantz.se> | 2006-06-04 09:15:17 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-06-04 09:15:17 +1000 |
commit | 6fd69bdda8b4d185fb636047ab8914989fc66252 (patch) | |
tree | 50883b516a46dec263490a0b20fb6319689e4956 /doc_src/type.txt | |
parent | a85f4cc1c48052487b2c258cb01748597be927a5 (diff) |
Many minor edits and clarifications to the documentation, including comments about the exit status of a few commands
darcs-hash:20060603231517-ac50b-03d252516eef21d4dd3a2ba0f5bb68e82525213b.gz
Diffstat (limited to 'doc_src/type.txt')
-rw-r--r-- | doc_src/type.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc_src/type.txt b/doc_src/type.txt index 2a20f562..26afca76 100644 --- a/doc_src/type.txt +++ b/doc_src/type.txt @@ -15,6 +15,9 @@ With no options, indicate how each name would be interpreted if used as a comman - \c -p or \c --path either return the name of the disk file that would be executed if name were specified as a command name, or nothing if 'type -t name' would not return 'file' - \c -P or \c --force-path either return the name of the disk file that would be executed if name were specified as a command name, or nothing no file with the specified name could be found in the PATH +\c type returns a zero exit status if the specified command was found, +otherwise the exit status is one. + \subsection type-example Example <tt>type fg</tt> outputs the string 'fg is a shell builtin'. |