From 0be2a4f6976a6dd0fc3a6accc7802fded79249ca Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 25 Feb 2023 13:18:14 +0100 Subject: [PATCH] Update boot.md --- developer/boot.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/developer/boot.md b/developer/boot.md index c28075c5..5a751332 100644 --- a/developer/boot.md +++ b/developer/boot.md @@ -374,6 +374,8 @@ The lua environment in the FreeBSD bootloader has some functions starting with ` * `loader.fb_drawrect()` * `loader.term_drawrect()` -This list was generated with +This list was generated on a system on which the FreeBSD source code is installed in `/usr/src` using the following command: -`grep -r '^lua_' /usr/src/stand/liblua/*.c | cut -d ":" -f 2 | sed -e 's|lua_|loader.|g' | sed -e 's|loader.State \*L||g' | sed -e 's|^|* \`|g' | sed -e 's|)|)\`|g'`. +``` +grep -r '^lua_' /usr/src/stand/liblua/*.c | cut -d ":" -f 2 | sed -e 's|lua_|loader.|g' | sed -e 's|loader.State \*L||g' | sed -e 's|^|* \`|g' | sed -e 's|)|)\`|g' +```