3 ms·
If you're OK with compiler warnings, this can be golfed down to: echo 'main(){printf("%u\\n",time(0));}'>epoch.c&&make epoch
by d33 4y ago
If you're OK with compiler warnings, this can be golfed down to:
echo 'main(){printf("%u\\n",time(0));}'>epoch.c&&make epoch
- d33 4y ago...on a separate note, wouldn't `date +%s` from coreutils do?