Hacker News new | past | comments | ask | show | jobs | submit login

Why would you even bother with that when `say` can take a string or read from stdin?

Just use

    $ say $(fortune)
or

    $ fortune | say -f-

For bonus coolness, add "-i" (it prints the lines and highlights the current word during reading).



Because it's fun spawning a new process and watching the otherwise idle cores of your box reach 0.1% usage for a millisecond.


Don't all three of those commands spawn new processes?


Not _shell_ processes, no.


Not all commands accept input as arguments, so it's still a good trick to know.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: