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