#! /bin/sh

# this program is meant to make you read (and edit) your tkpostit notes using
# your $EDITOR on a text-only terminal

name=`grep -n $1 $HOME/.tkNotes/note*[0-9] | grep ':1:' | awk -F: '{print $1}'`

$EDITOR $name