summaryrefslogtreecommitdiff
path: root/dot/local/bin/datel
diff options
context:
space:
mode:
Diffstat (limited to 'dot/local/bin/datel')
-rwxr-xr-xdot/local/bin/datel3
1 files changed, 3 insertions, 0 deletions
diff --git a/dot/local/bin/datel b/dot/local/bin/datel
new file mode 100755
index 0000000..4375b4f
--- /dev/null
+++ b/dot/local/bin/datel
@@ -0,0 +1,3 @@
1#!/bin/bash
2date=$(date "$@")
3printf '%s\n' "$date" "${date//?/-}"