So the Unix Epoch ends in 2038... Is that the year Linux will finally be ready for the desktop (for the 34th time)?
Seriously though, what do you think computing will be like in 30 years? Hard for me to imagine, considering what I have experienced in the last 12 or so. Hopefully we won't run out of things to do by then.
I was going to try to figure out how to turn this into an even-cleverer one-liner which did not create any files at all, using something like:
$ echo -e "#include <stdio.h>\n#include <time.h>\nmain(){printf(\"%d\\\n\",sizeof(time_t));}" |gcc -x c -o >('some command which runs a file received on standard input') -
Unfortunately, after about 20 minutes of searching, I've found no Unix utility like that. That seems somewhat strange since it is possible to utilize pipes in so many ways. Am I missing something?
It shouldn't even need to be an elf binary. It should be able to be any file which could serve as a command in unix, which would include things like she-bang-interpreted executables and alternative binary formats recognized by your kernel. Shouldn't there be some kind of hook into whatever e.g. bash uses? It doesn't seem like such a utility should be hard to write.