On Sat, 6 Dec 2008 11:51:10 -0800, "ron minnich" <[EMAIL PROTECTED]>
wrote:
>>> But how do I get this into a program?
>>>
>>> paraflash `awk '/rtc/{print $1}'`
>> 
>> base_addrs = system("cat /proc/ioports | awk '/paraport*{print $1}'");
>> 
> 
> system() doesn't give you a pipe to read from.
> 
Hmm. I guess I am a little confused then how I am supposed to call the bash
one-liner from with in the program?

Sorry, I am just trying to understand.

-- 
Thanks,
Joseph Smith
Set-Top-Linux
www.settoplinux.org


--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to