lua-users home
lua-l archive

Re: Line number info

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>Is there a way to collect the numbers of all lines in a lua file, which
>have any code associated with them?
If you can do this offline, then use luac:
luac -l bisect.lua | cut -f3 | fgrep '[' | tr -d '[]' | sort -un
--lhf

AltStyle によって変換されたページ (->オリジナル) /