https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244640
Bug ID: 244640 Summary: [Patch][Lua loader] Implement missing "read-conf" 4th command Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Keywords: loader, patch-ready Severity: Affects Some People Priority: --- Component: misc Assignee: b...@freebsd.org Reporter: olivier.free...@free.fr Flags: mfc-stable12? Created attachment 212202 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=212202&action=edit Patch adding "read-conf" Please find attached a patch implementing "read-conf" in the Lua loader, as defined in loader.4th(8). Is currently in use with `head` and `stable/12` machines without problems. For the record: 1. As this command is not built-in, it would normally have to obey Lua syntax, which forbids calling functions having a `-` in their name with the common function call syntax. However, . 2. As a workaround, one could type those two lines: `config=require("config")` `config.processFile "<conf_file_name>"` but this is annoying and not officially documented (most probably on purpose). Thank you. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"