3 ms·
Ruby includes something similar, ARGF. It's pretty useful over there. https://thoughtbot.com/blog/rubys-argf https://thoughtbot.com/blog/rubys-argf
by tomjakubowski 7y ago
Ruby includes something similar, ARGF. It's pretty useful over there. https://thoughtbot.com/blog/rubys-argf https://thoughtbot.com/blog/rubys-argf
- jstimpfle 7y agoWell, maybe fileinput is meant to be used for making shell one-liners using the -m switch or so, like in the link you posted, or like perl/awk. Does that play nice with Python's block syntax, though?