turns printfs back on
[freebsd-src/fkvm-freebsd.git] / contrib / bind9 / doc / misc / format-options.pl
blob70b334e31e1eb81d2e9ea81db472f3089b8474b7
1 #!/usr/bin/perl
3 # Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
4 # Copyright (C) 2001 Internet Software Consortium.
6 # Permission to use, copy, modify, and distribute this software for any
7 # purpose with or without fee is hereby granted, provided that the above
8 # copyright notice and this permission notice appear in all copies.
10 # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
11 # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
12 # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
13 # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
14 # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
15 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16 # PERFORMANCE OF THIS SOFTWARE.
18 # $Id: format-options.pl,v 1.2 2004/03/05 05:04:53 marka Exp $
20 print <<END;
22 This is a summary of the named.conf options supported by
23 this version of BIND 9.
25 END
27 # Break long lines
28 while (<>) {
29 s/\t/ /g;
30 if (length >= 79) {
31 m!^( *)!;
32 my $indent = $1;
33 s!^(.{0,75}) (.*)$!\1\n$indent \2!;
35 print;