commit 6bfe403d8e8f0cc3c13681b5fddfb7610ebb9747 parent 64eebf52e82d50c6f7e3fa60ad2ef26bcb3830bd Author: hhvn <hayden@hhvn.uk> Date: Fri, 4 Jun 2021 13:33:56 +0100 bin/date: add date function Diffstat:
A | bin/date | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/bin/date b/bin/date @@ -0,0 +1,6 @@ +#!/bin/sh +# force +format + +[ -z "$@" ] && + date || + date +"$@"