Poettering: Revisiting how we put together Linux systems
Poettering: Revisiting how we put together Linux systems
Posted Sep 3, 2014 2:53 UTC (Wed) by mathstuf (subscriber, #69389)In reply to: Poettering: Revisiting how we put together Linux systems by landley
Parent article: Poettering: Revisiting how we put together Linux systems
But isn't that what the Unix Philosophy tells me I should do? Take small programs and string them together into larger tools?
Just because I can write a one liner which uses find, sort, and awk piped to awk to generate a file given a directory tree doesn't mean I should.
Posted Sep 3, 2014 4:20 UTC (Wed)
by rodgerd (guest, #58896)
[Link]
Posted Sep 4, 2014 19:27 UTC (Thu)
by NightMonkey (subscriber, #23051)
[Link] (3 responses)
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
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