One Thing Well

A weblog about simple, useful software.

You can follow along on Twitter or via the feed. Don't hesitate to get in touch. Sponsor the site.

Nag II: UNIX Boogaloo

When I posted about nag, the little todo list manager I made, Christian Neukirchen1 got in touch with the following quote from Henry Spencer:

Those who don’t understand UNIX are condemned to reinvent it, poorly.

It’s a fair cop. Here’s Christian’s nag equivalent:

alias n='head -1 ~/.nag'
alias na='echo >> ~/.nag'
alias nl='nl ~/.nag'
function nd() { sed -i ${1:-1}d ~/.nag }
alias nc='true > ~/.nag'

A far simpler solution than my 91 lines of beginners’ Python!


  1. Christian ran the first tumblelog, Anarchia which along with projectionist spurred me to start the unimaginatively-named Tumble back in 2005.