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