6
#In the good old days of menu-0 compatibility, one had to use:
8
# #!/usr/sbin/install-menu
12
# #This file can be very usefull when you want to run one particular
13
# #menu-method file several times, without running any of the others.
14
# #In order to do so, do:
15
# # - cp ./cat /etc/menu-methods/
16
# # - run update-menus so that the "cat" menu-method gets executed.
17
# # Now you've got /tmp/menu-stdin.
18
# # - With this file, you don't need update-menus at all any more, and you
19
# # can symply run your hand-written "menu-test" menu-method by typing:
20
# # ./menu-test < /tmp/menu-stdin
22
# # The advantage of doing this is
23
# # - none of the other menu-method files get excecuted (speedup)
24
# # - update-menus doesn't need to open some hundred menu-entry files
25
# # every time you test a change in your menu-method file.
28
# command="cat > /tmp/menu-stdin"