#!/bin/sh
file=$(date +%Y-%m-%d)

set -x
$EDITOR "$1${file}"