X-Git-Url: https://git.distorted.org.uk/~mdw/misc/blobdiff_plain/3770fe80fa49fe8ad6a3c3697b268a18b8c13eb1..ed04d555ce94ab069660f589a0ac3ef9d48ce5ae:/splitconf.1 diff --git a/splitconf.1 b/splitconf.1 index e8b4016..2c4875d 100644 --- a/splitconf.1 +++ b/splitconf.1 @@ -93,22 +93,32 @@ A file section begins with a line of the form .BR ] ' and is followed by lines to write to the file. In these lines, comments (lines beginning with a -.RB ` # ' +.RB ` ## ' are stripped out, and any trailing blank lines are removed. Also, any line beginning with an exclamation mark .RB ` ! ' is written out with the leading exclamation mark removed. .PP +A file section with an empty +.I name +is treated specially: its contents are scanned for more preamble +directives. +.PP Options are as follows. .TP .B prefix -A string to attach to the front of all filenames. (Default is empty.) +A string to attach to the front of all subsequent filenames, until +overridden. (Default is empty.) .TP .B before -A shell command to execute before starting to write any files. +A shell command to execute before starting to write any files. There is +only one before-command, which is the one current when the first file is +written. .TP .B after A shell command to execute after committing the changes or backing out. +There is only one after-command, which is the last one set in the +configuration file. .SH BUGS None known. .SH AUTHOR