lua-users home
lua-l archive

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


On Fri, 30 Jan 2004, Jay Carlson wrote:

> On Fri, 30 Jan 2004, Jay Carlson wrote:
>
> > On Wed, 28 Jan 2004, Reuben Thomas wrote:
>
> > > This is the main objection to what I propose above. What can't you do
> > > conveniently with exec and glob?
>
> Oh right, I forgot:
>
>   f = os.popen("mipsel-linux-objdump --syms --section="..section..
> 	" --start-address="..hex(start).." "..objfilename)
>   for l in f:lines() do
>     _, _, etc = string.find(l, "^(%x%x%x%x%x%x%x%x) [^l] ...")
>     ...
>   end

What's wrong with pipe, fork and exec? (With a simplifying wrapper,
obviously.)

-- 
http://www.mupsych.org/~rrt/
Reality is what refuses to disappear when you stop believing in it (Dick)