lua-users home
lua-l archive

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


Thank you Philipp - yes, my bash config file had a mix of unix and mac line endings.

On 13/06/2013, at 11:38 AM, Philipp Janda <siffiejoe@gmx.net> wrote:

> Am 13.06.2013 01:58 schröbte Graham Henstridge:
>> 
>> $$ lua
>> Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio
>>  > require"test11"
>> stdin:1: module 'test11' not found:
>> 	no field package.preload['test11']
>> 	no file 'test11.lua'
>> '       no file '/usr/local/lib/lua/5.1/test11.lua   -- but this file is there! ...
> 
>  ^ this single quote usually is at the end of the line, so I suspect that you have an extra carriage return (\r) at the end of the LUA_PATH variable definition.
> 
> HTH,
> Philipp
> 
> p.s.: Please create a new message instead of replying to an existing one if you intend to start a new topic. Otherwise you mess up message threading. Your email has nothing to do with LuLPeg, and I nearly didn't find it again when I tried to reply ...
> 
Sorry.

Graham