4 ms·
> "transforming a filename into the content of the file" is a really thin justification for a responsibility. Uh... I dunno, but my lizard brain thinks that th
by ajross 3y ago
> "transforming a filename into the content of the file" is a really thin justification for a responsibility.
Uh... I dunno, but my lizard brain thinks that the whole idea of mediating filesystem operations on storage and IPC mechanisms like pipes is a lot more complicated, magic, and deserving of a single command than merely filtering the data on stdin.
I agree with the article and the logic, and think this historic meme was basically wrong originally. You string up your chain of pipelines with the first element being "where does it come from?" and not merely whatever the first operation happens to be just because that operation allows for some kind of file input or redirection syntactically.