2 LFSCMD - Extract LFS/BLFS book commands.
5 lfscmd [options] [index.xml]
8 lfscmd extracts commands from the LFS and BLFS books.
9 The commands may be printed, executed, or written
10 to files. lfscmd can record the title of the current page
11 and select pages which match a regular expression.
13 lfscmd tries to conform older books to the new
14 command structure. For instance, lfscmd removes double
15 ampersands and disregards the space between command
18 lfscmd might be used to:
20 * Reference the build instructions of one or more
23 * Determine the command changes between arbitrary
24 versions of a particular package, with assistance
27 * Automate installation scripts by executing commands
28 for one or more packages on the fly.
33 -f Write commands to their own file.
35 -a Strip '&&' in commands.
38 Output pages matching regex query.
40 -t Print titles (as comments).
42 -x Give executable permission to the resulting files.
46 The full path to the index page of the default book.
49 Timothy Bauscher <timothy@linuxfromscratch.org>