#!/bin/bash if [ "$1" = "usage" ] then echo ' addp PRIORITY "THING I NEED TO DO +project @context"' echo " add an item with priority PRIORITY" exit 0 fi shift pri="$(tr '[:lower:]' '[:upper:]' <<< $1)" shift "$TODO_FULL_SH" command add "($pri) $@"