1 .\" Process this file with
2 .\" groff -man -Tascii lfscmd.1
6 LFSCMD \- Extract LFS/BLFS book commands.
8 .B lfscmd [options] [index.xml]
11 extracts commands from the LFS and BLFS books. The commands may be
12 printed, executed, or written to files. lfscmd can record
13 the title of the current page and select pages which match a regular
16 lfscmd tries to conform older books to the new command structure.
17 For instance, lfscmd removes double ampersands and disregards the
18 space between command blocks.
20 lfscmd might be used to:
23 Reference the build instructions of one or more packages.
26 Determine the command changes between arbitrary versions
27 of a particular package, with assistance from diff(1).
30 Automate installation scripts by executing commands for
31 one or more packages on the fly.
38 Write commands to their own file.
41 Strip '&&' in commands.
45 Output pages matching regex query.
48 Print titles (as comments).
52 Give executable permission to the resulting files.
53 .SH "ENVIRONMENT VARIABLES"
56 The full path to the index page of the default book.
58 Timothy Bauscher <timothy@linuxfromscratch.org>