Commit 854dd306 authored by Nico Schottelius's avatar Nico Schottelius

only 10 items from today

Signed-off-by: default avatarNico Schottelius <nico@bento.schottelius.org>
parent eec94898
......@@ -16,6 +16,13 @@ end=7
day=$start
date="$(date +%F)"
file="$HOME/privat/persoenlich/notizen/$date"
if [ -f "$file" ]; then
echo "$date"
head -n 10 "$file"
fi
while [ "$day" -le "$end" ]; do
date="$(date +%F -d "$day days")"
file="$HOME/privat/persoenlich/notizen/$date"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment