#!/bin/sh# Nico Schottelius# 2014-06-08# Show the plan of the weekif["$#"-ne 1 ];thenecho"$0 <directory-with-notes>"exit 1fidir=$1;shiftstart=1end=7day=$startwhile["$day"-le"$end"];dodate="$(date +%F -d"$day days")"file="$HOME/privat/persoenlich/notizen/$date"if[-f"$file"];thenecho"$date"cat"$file"fiday=$((day+1))done