[coreboot] Dynamic detection of Parallel Port

Joseph Smith joe at settoplinux.org
Sat Dec 6 23:07:21 CET 2008

On Sat, 6 Dec 2008 11:51:10 -0800, "ron minnich" <rminnich at gmail.com>
>>> 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.

Joseph Smith

More information about the coreboot mailing list