An Interest In:
Web News this Week
- April 16, 2024
- April 15, 2024
- April 14, 2024
- April 13, 2024
- April 12, 2024
- April 11, 2024
- April 10, 2024
March 14, 2013 10:27 am PDT
Original Link: http://feeds.boingboing.net/~r/boingboing/iBag/~3/gCBxnb3p9ks/stupid-unix-trick-why-you-sho.html
Stupid Unix trick: why you shouldn't pipe yes into yes
There's a GNU-coreutils program called yes whose function is to "output a string repeatedly until killed." M Tang tried piping the output of one yes command into another. It ended badly: Taking a look at the source code for yes, it looks like the single argument is being stored in a char array, then, in [...]Original Link: http://feeds.boingboing.net/~r/boingboing/iBag/~3/gCBxnb3p9ks/stupid-unix-trick-why-you-sho.html
Share this article:
Tweet
View Full Article