From: Ted Lemon Date: Sat, 31 Jul 1999 21:37:12 +0000 (+0000) Subject: Document changes to concat. X-Git-Tag: V3-BETA-1-PATCH-2~5^2~146 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6499fe2748078e013999be2fa46e58ca1e75289b;p=thirdparty%2Fdhcp.git Document changes to concat. --- diff --git a/common/dhcp-eval.5 b/common/dhcp-eval.5 index 6c0b28e1c..89fd9b332 100644 --- a/common/dhcp-eval.5 +++ b/common/dhcp-eval.5 @@ -240,13 +240,12 @@ A list of hexadecimal octet values, seperated by colons, may be specified as a data expression. .RE .PP -.B concat (\fIdata-expr1\fB, \fIdata-expr2\fB)\fR +.B concat (\fIdata-expr1\fB, ..., \fIdata-exprN\fB)\fR .RS 0.25i -The two expressions are evaluated, and the result of concatenating the -results of the two evaluations is returned. If either subexpression -evaluates to null, then the result is the value of the other -expression. If both expressions evaluate to null, then the result is -null. +The expressions are evaluated, and the results of each evaluation are +concatenated in the sequence that the subexpressions are listed. Any +subexpression that evaluates to null is treated as a zero-length string. +If all the arguments to concat are null, the result is also null. .RE .PP .B reverse (\fInumeric-expr1\fB, \fIdata-expr2\fB)\fR