From: Ted Lemon Date: Thu, 22 Feb 2001 22:50:55 +0000 (+0000) Subject: Document backslash quoting. X-Git-Tag: V3-BETA-2-PATCH-18~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17238faf0f355d3b2ba1ec592192e097eaa5d1fb;p=thirdparty%2Fdhcp.git Document backslash quoting. --- diff --git a/common/dhcp-eval.5 b/common/dhcp-eval.5 index bbdf6a5c2..1721c6081 100644 --- a/common/dhcp-eval.5 +++ b/common/dhcp-eval.5 @@ -1,23 +1,42 @@ .\" dhcp-eval.5 .\" -.\" Copyright (c) 1996-1999 Internet Software Consortium. -.\" Use is subject to license terms which appear in the file named -.\" ISC-LICENSE that should have accompanied this file when you -.\" received it. If a file named ISC-LICENSE did not accompany this -.\" file, or you are not sure the one you have is correct, you may -.\" obtain an applicable copy of the license at: +.\" Copyright (c) 1996-2001 Internet Software Consortium. +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: .\" -.\" http://www.isc.org/isc-license-1.0.html. +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. Neither the name of The Internet Software Consortium nor the names +.\" of its contributors may be used to endorse or promote products derived +.\" from this software without specific prior written permission. .\" -.\" This file is part of the ISC DHCP distribution. The documentation -.\" associated with this file is listed in the file DOCUMENTATION, -.\" included in the top-level directory of this release. +.\" THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND +.\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, +.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +.\" DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR +.\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +.\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +.\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. .\" -.\" Support and other services are available for ISC products - see -.\" http://www.isc.org for more information. -.TH dhcpd-eval 5 +.\" This software has been written for the Internet Software Consortium +.\" by Ted Lemon in cooperation with Vixie Enterprises and Nominum, Inc. +.\" To learn more about the Internet Software Consortium, see +.\" ``http://www.isc.org/''. To learn more about Vixie Enterprises, +.\" see ``http://www.vix.com''. To learn more about Nominum, Inc., see +.\" ``http://www.nominum.com''. +.TH dhcp-eval 5 .SH NAME -dhcp-conditionals - ISC DHCP conditional evaluation +dhcp-eval - ISC DHCP conditional evaluation .SH DESCRIPTION The Internet Software Consortium DHCP client and server both provide the ability to perform conditional behavior depending on the contents @@ -226,7 +245,13 @@ contents packet as in the \fBsubstring\fR operator. .PP .RS 0.25i A string, enclosed in quotes, may be specified as a data expression, -and returns the text between the quotes, encoded in ASCII. +and returns the text between the quotes, encoded in ASCII. The +backslash ('\\') character is treated specially, as in C programming: +'\\t' means TAB, '\\r' means carriage return, '\\n' means newline, and +'\\b' means bell. Any octal value can be specified with '\\nnn', +where nnn is any positive octal number less than 0400. Any +hexadecimal value can be specified with '\xnn', where nn is any +positive hexadecimal number less than 0xff. .RE .PP .I colon-seperated hexadecimal list