1 Index: grub-0.95/docs/grub.texi
2 ===================================================================
3 --- grub-0.95.orig/docs/grub.texi
4 +++ grub-0.95/docs/grub.texi
5 @@ -1933,6 +1933,7 @@ These commands can only be used in the m
6 * gfxmenu:: Use graphical menu interface
7 * timeout:: Set the timeout
8 * title:: Start a menu entry
9 +* wildcard:: Define a wildcard boot entry
13 @@ -2001,6 +2002,42 @@ the line, starting with the first non-sp
20 +@deffn Command wildcard pathname
21 +Treat this boot entry as a wildcard entry: The
22 +wildcard, title, kernel, and initrd commands (see @ref{Menu-specific
23 +commands} and @ref{Command-line and menu entry commands}) each have an
24 +asterisk (*) in their value. A filename match is performed on the
25 +@var{pathname} of the wildcard command. For each match, the entire boot
26 +entry is duplicated. The part of the filename whcih matches the asterisk
27 +in the wildcard command replaces the asterisks in the title, kernel, and
28 +initrd commands. For example, with the files vmlinuz-2.6.5-1 and
29 +vmlinuz-2.6.8-8 below (hd0,7)/boot, the following entry in the stage 2
34 + wildcard (hd0,7)/boot/vmlinuz-*
35 + kernel (hd0,7)/boot/vmlinuz-* root=/dev/hda8
36 + initrd (hd0,7)/boot/initrd-*
39 +would expand as follows:
43 + wildcard (hd0,7)/boot/vmlinuz-2.6.5-1
44 + kernel (hd0,7)/boot/vmlinuz-2.6.5-1 root=/dev/hda8
45 + initrd (hd0,7)/boot/initrd-2.6.5-1
47 + wildcard (hd0,7)/boot/vmlinuz-2.6.8-8
48 + kernel (hd0,7)/boot/vmlinuz-2.6.8-8 root=/dev/hda8
49 + initrd (hd0,7)/boot/initrd-2.6.8-8
53 @node General commands
54 @section The list of general commands