mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
restore 'test --man --' oddness (re: fa6a180f
)
Following a community objection to its removal, the inline 'test'
manual page along with its strange method of invocation is
restored. I've taken the opportunity to correct several mistakes,
add some missing info, do some copy-editing, and document the way
to get these docs in the main (k)sh.1 manual.
Discussion:
fa6a180f (commitcomment-41897553)
This commit is contained in:
parent
fa6a180fdd
commit
77beec1e0d
4 changed files with 132 additions and 1 deletions
|
@ -7219,6 +7219,15 @@ grammatical ambiguities in the expressions. To avoid the many pitfalls
|
|||
arising from these issues, the \f3[[\fP compound command should be used
|
||||
instead. The primary purpose of the \f3test\fP and \f3[\fP commands is
|
||||
compatibility with other shells that lack \f3[[\fP.
|
||||
.RS
|
||||
.PP
|
||||
The \f3test\fP/\f3[\fP command does not parse options except if there are
|
||||
two arguments and the second is \f3--\fP. To access the inline documentation
|
||||
with an option such as \f3--man\fP, you need one of the forms
|
||||
.B test\ --man\ --
|
||||
or
|
||||
.BR [\ --man\ --\ ] .
|
||||
.RE
|
||||
.TP
|
||||
\f3times\fP
|
||||
Displays the accumulated user and system CPU times, one line with the times
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue