#!/bin/sh suffix="$1" datef="$2" file=$(date +%Y-%m-%d $datef) set -x # $EDITOR "${file}${suffix}" emacs "${file}${suffix}"