[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LUA_INIT can replace require
- From: Coda Highland <chighland@...>
- Date: Sat, 25 Feb 2017 19:46:29 -0800
On Sat, Feb 25, 2017 at 4:11 PM, Soni L. <firstname.lastname@example.org> wrote:
> On 25/02/17 06:30 PM, Coda Highland wrote:
>> On Sat, Feb 25, 2017 at 12:42 PM, Soni L. <email@example.com> wrote:
>>> [soniex2@soniex-pc lua]$ cat init.lua
>>> local _require = require
>>> require = function(...)
>>> return _require(...)
>>> [soniex2@soniex-pc lua]$ LUA_INITfirstname.lastname@example.org' lua -l init
>>> Lua 5.3.4 Copyright (C) 1994-2017 Lua.org, PUC-Rio
>>> [soniex2@soniex-pc lua]$
>>> Is this intended?
>> It looks intended enough to me? This looks like the kind of thing
>> you'd use for debugging.
>> /s/ Adam
> ldd for Lua?
> Disclaimer: these emails may be made public at any given time, with or
> without reason. If you don't agree with this, DO NOT REPLY.
I was thinking more like LD_PRELOAD than ldd.