aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2018-11-15 10:14:33 +0200
committerSergey Poznyakoff <gray@gnu.org>2018-11-15 10:14:33 +0200
commit1202780fd92ff9fc2854bfa2d0ab0c39169eabd5 (patch)
treec75017174a7160979d18a3130fea9c154fdc01ba
parent6e4ef4c272a23ffde227689bc4e65a0523f18b4d (diff)
downloadgrecs-1202780fd92ff9fc2854bfa2d0ab0c39169eabd5.tar.gz
grecs-1202780fd92ff9fc2854bfa2d0ab0c39169eabd5.tar.bz2
Update wordsplit docs
-rw-r--r--doc/wordsplit.317
1 files changed, 5 insertions, 12 deletions
diff --git a/doc/wordsplit.3 b/doc/wordsplit.3
index c3149fe..1a6f80b 100644
--- a/doc/wordsplit.3
+++ b/doc/wordsplit.3
@@ -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

Return to:

Send suggestions and report system problems to the System administrator.