Because I'm working on the command line, my first machine part is a quick pipe output for #2!
It seems silly because you use it like this: cat file.txt | ./pipe.js and that's basically a cat of a cat?? 😸
But I have the feeling that I'm going to be doing a lot of piping, so this is a great first part to make I guess, and it can be extended for the next part.
EDIT: I felt like I was cheating using native cat, so I implemented it in Node. You can run it with ./cat.js file.txt for example.
Because I'm working on the command line, my first machine part is a quick pipe output for #2! It seems silly because you use it like this:
cat file.txt | ./pipe.js
and that's basically a cat of a cat?? 😸But I have the feeling that I'm going to be doing a lot of piping, so this is a great first part to make I guess, and it can be extended for the next part.
EDIT: I felt like I was cheating using native
cat
, so I implemented it in Node. You can run it with./cat.js file.txt
for example.Journal entry to come.