From 992f1e6b8f86b346fddd266b04d29cde69585633 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 7 Apr 2004 10:15:11 +0000 Subject: Add all the source files from the old CVS tree, add the 5 missing chapters from the HOWTO and add jht's Samba by Example book. (This used to be commit 9fb5bcb93e57c5162b3ee6f9c7d777dc0269d100) --- docs/scripts/indent-smb.conf.pl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 docs/scripts/indent-smb.conf.pl (limited to 'docs/scripts/indent-smb.conf.pl') diff --git a/docs/scripts/indent-smb.conf.pl b/docs/scripts/indent-smb.conf.pl new file mode 100755 index 0000000000..c4c87a1511 --- /dev/null +++ b/docs/scripts/indent-smb.conf.pl @@ -0,0 +1,8 @@ +#!/usr/bin/perl + +while() { + if(/^$/) { } + elsif(/^([ \t]*)#(.*)/) { print "#$2\n"; } + elsif(/^([ \t]*)(.*) = (.*)$/) { print "\t$2 = $3\n"; } + elsif(/^([ \t]*)\[(.*)\]([ \t]*)$/) { print "\n[$2]\n"; } +} -- cgit