blob: d11713b8cf087709a7b4a36e95d472d77d995e49 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/dash
if [ "$1" = "date" ]; then
echo "$(date '+%a. %Y-%m-%d')"
elif [ "$1" = "time" ]; then
echo "$(date '+%H:%M %Z')"
else
echo "$(date '+%a. %Y-%m-%d | %H:%M %Z')"
fi
|