[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: ????????? Re: Problem calling c++ from Lua (MS-Windows version)
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 24 Feb 2011 16:56:17 -0300
> echo $PATH | awk 'BEGIN { FS=":"} {for (i=1; i<NF; i++) print $i}'
>
> (sorry i don't know how to do it fast with Lua) )
for w in (os.getenv("PATH")..":"):gmatch(".-:") do print(w) end