2 ms·
I am the biggest fan of Unix commandline tools but I think you vastly overestimate how universal unix pipes are. For example, if I asked you to guess (no readin
by frutiger 6y ago
I am the biggest fan of Unix commandline tools but I think you vastly overestimate how universal unix pipes are. For example, if I asked you to guess (no reading man pages or trying commands out!) how `find(1)` interprets input supplied to `stdin`, what would your guess be?
Comparing your guess with what you learn from the man pages is an indication of how inconsistent most of the classic Unix tools are.
- tonyarkles 6y ago> how `find(1)` interprets input supplied to `stdin`, what would your guess be? I'm on OS X here, and I can't find any info about this at all in the man pages! I'd never really thought much about it; usually find is the very start of the pipeline for me. I have run into the -print0 option before though when passing the output into xargs :)