That is a lot of if statements just to get some directly adjacent unicode characters, which can easily be generated with some simple math.<p>This solution may be a little terse (96 bytes; I wrote it for the 140bytes golfing challenge), but it should help explain how to get the current time's clock character: <a href="https://gist.github.com/eligrey/985721#file-annotated-js" rel="nofollow">https://gist.github.com/eligrey/985721#file-annotated-js</a>
Instead of using a very long set of If statements, I think you could just use something like<p><pre><code> a=$((`date +%M`/15));b=$((128335 + `date +%l` +((a*(a**2-39*a+110))/6)));printf '%x' $b;
</code></pre>
and print the resulting hex's character, no?<p>(I'd finish off the code myself, but I have a bus to catch)<p>Edit: Ah, I see Sephr came prepared. ;)
Is there a particular font that works better than others for this? I've tried all my fixed width fonts and the clock is barely readable in any of them.