Poettering: Revisiting how we put together Linux systems
Poettering: Revisiting how we put together Linux systems
Posted Sep 7, 2014 17:45 UTC (Sun) by jwakely (subscriber, #60262)In reply to: Poettering: Revisiting how we put together Linux systems by mathstuf
Parent article: Poettering: Revisiting how we put together Linux systems
You can use awk's pipe operator instead:
cmd = "ls -l";
while ((cmd | getline x) == 1) xx = xx x "\n";
close(cmd);
Posted Sep 8, 2014 5:15 UTC (Mon)
by mathstuf (subscriber, #69389)
[Link]
Poettering: Revisiting how we put together Linux systems