mirror of
git://git.gnu.org.ua/wordsplit.git
synced 2025-04-25 16:19:54 +03:00
Update docs
This commit is contained in:
parent
5bec17fbbb
commit
14c94c292e
1 changed files with 5 additions and 12 deletions
|
@ -360,11 +360,10 @@ The substitution function should be defined as follows:
|
|||
First \fIlen\fR bytes of \fIcmd\fR contain the command invocation as
|
||||
it appeared between
|
||||
.BR $( and ),
|
||||
with all expansions performed. If the
|
||||
.I WRDSO_ARGV
|
||||
option is set, the parameter \fIargv\fR contains the command line split into
|
||||
words using the same settings as the input \fIws\fR structure.
|
||||
Otherwise, \fIargv\fR is \fBNULL\fR.
|
||||
with all expansions performed.
|
||||
.PP
|
||||
The \fIargv\fR parameter contains the command
|
||||
line split into words using the same settings as the input \fIws\fR structure.
|
||||
.PP
|
||||
The \fIclos\fR parameter supplies user-specific data, passed in the
|
||||
\fIws_closure\fR member).
|
||||
|
@ -634,9 +633,7 @@ In any case (whether returning \fB0\fR or \fBWRDSE_USERERR\fR) , the
|
|||
data returned in \fBret\fR must be allocated using
|
||||
.BR malloc (3).
|
||||
|
||||
If the
|
||||
.I WRDSO_ARGV
|
||||
option is set, the parameter \fBargv\fR contains the command split into
|
||||
The parameter \fBargv\fR contains the command split into
|
||||
words using the same settings as the input \fIws\fR structure, with
|
||||
command substitution disabled.
|
||||
|
||||
|
@ -822,10 +819,6 @@ Output error message if pathname expansion produces empty string.
|
|||
.B WRDSO_DOTGLOB
|
||||
During pathname expansion allow a leading period to be matched by
|
||||
metacharacters.
|
||||
.TP
|
||||
.B WRDSO_ARGV
|
||||
Split command invocation into words and pass the result to the
|
||||
\fIws_command\fR function in \fIargv\fR parameter.
|
||||
.PP
|
||||
.TP
|
||||
.B WRDSO_BSKEEP_WORD
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue