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
- [coreboot] Dynamic detection of Parallel Port Joseph Smith
- Re: [coreboot] Dynamic detection of Parallel Port Corey Osgood
- Re: [coreboot] Dynamic detection of Parallel Port ron minnich
- Re: [coreboot] Dynamic detection of Parallel ... Joseph Smith
- Re: [coreboot] Dynamic detection of Paral... Joseph Smith
- Re: [coreboot] Dynamic detection of ... Joseph Smith
- Re: [coreboot] Dynamic detection of ... ron minnich
- Re: [coreboot] Dynamic detection... Joseph Smith
- Re: [coreboot] Dynamic detec... ron minnich
- Re: [coreboot] Dynamic detection of Parallel Port Ward Vandewege
- Re: [coreboot] Dynamic detection of Parallel Port Peter Stuge
- Re: [coreboot] Dynamic detection of Parallel Port Stefan Reinauer
- Re: [coreboot] Dynamic detection of Parallel Port Joseph Smith
- Re: [coreboot] Dynamic detection of Parallel ... ron minnich
- Re: [coreboot] Dynamic detection of Paral... Joseph Smith
- Re: [coreboot] Dynamic detection of Paral... Joseph Smith

