3 ms·
It's not more modular to use cat instead of head's filename argument. OP invented their own definition of modularity to fit their narative and bias. What are yo
by halayli 3y ago
It's not more modular to use cat instead of head's filename argument. OP invented their own definition of modularity to fit their narative and bias. What are you going to use if you need to tail? cat a 1GB file through the kernel to reach tail's stdin? You're not just spawning an extra process you're copying the data from one process to another via read/write system calls for no good reason.