diff options
Diffstat (limited to 'dot/local/bin/datel')
-rwxr-xr-x | dot/local/bin/datel | 3 |
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 | ||
2 | date=$(date "$@") | ||
3 | printf '%s\n' "$date" "${date//?/-}" | ||