Short Attention Span Theatre

Parse uptime with sed

I want to use the uptime command (just the amount of time awake) in a geeklet for GeekTool, and thought the awk based version a bit awkward.

I've included a shell script and some sample uptime output in this git repository.

Most of the ideas for this were taken from uptime's source code and a forum post.

Re-alpine on Mac OSX » « Building NAStie
sast favicon