lua-users home
lua-l archive

pipe -> lua -> pipe ???

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


Hi,
on a embedded system, which 'harddisc' is flash memory and
which runs Gentoo Linux I want to implement a typical Unix-like
filter, which reads data from stdin, process them and output the 
result to stdout. 
The data originates from a program called gpspipe (which in turn is
part of the gpsd package) and is given in realtime.
How can I implement this "read from stdin and write to stdout"-thingy 
without using files (I dont want to use the flash due to the wear-out
problems) ?
Best regards,
mcc
PS: The embedded system runs
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio

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