mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
manual: use consistent terminology
The ksh manual page is one of the few places that calls globbing "file name generation". The mksh and zsh manuals use the same term. But every other shell's manual calls it "pathname expansion": bash, dash, yash, FreeBSD sh. So does ksh's built-in documentation (alias --man, export --man, readonly --man, set --man, typeset --man). What's more, the authoritative ksh reference, Bolsky & Korn's 1995 "The New Kornshell" book, also calls it "pathname expansion", and so does the POSIX standard. Similarly, "arithmetic substitution" should be called "arithmetic expansion" per Bolsky & Korn as well as POSIX. This commit has several other miscellaneous documentation tweaks as well.
This commit is contained in:
parent
bd9752e43c
commit
15bbc2f632
6 changed files with 59 additions and 45 deletions
|
|
@ -63,8 +63,8 @@ const char sh_opttest[] =
|
|||
"[+DESCRIPTION?\btest\b evaluates expressions and returns its result using the "
|
||||
"exit status. Option parsing is not performed; all arguments, "
|
||||
"including \b--\b, are processed as operands. It is essential to quote "
|
||||
"expression arguments to suppress empty removal, field splitting, file "
|
||||
"name generation, and constructs such as redirection. If the command "
|
||||
"expression arguments to suppress empty removal, field splitting, "
|
||||
"pathname expansion, and constructs such as redirection. If the command "
|
||||
"is invoked as \b[\b, a final \b]]\b argument is required and "
|
||||
"discarded. The evaluation of the expression depends on the number of "
|
||||
"operands, as follows:]"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue