Ask HN: What's your most-used function that you wrote yourself? 15 years ago
This is a one-line script I use every day to open a text task list, so I've ended up with a directory of well named text files documenting every day I have worked:
$ vim ~/Dropbox/tasks/`date -v-${1-0}d "+%Y%m%d%a"`.txt