marvvin

IRC bot
Log | Files | Refs | README | LICENSE

commit 7a909f009c34cfb87c785347ab31bc82f6086319
parent e5ad5ca0e7c75f2ce79dd3ab95013216897e2c42
Author: hhvn <dev@hhvn.uk>
Date:   Tue, 11 May 2021 21:23:55 +0100

functions.sh: fix echo

Diffstat:
Mfunctions.sh | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/functions.sh b/functions.sh @@ -1,5 +1,10 @@ #!/bin/sh +# echo(string...) +echo(){ + printf "%s\n" "$*" +} + # _mktemp(prefix-default:tmp) _mktemp(){ dir="/tmp/${1:-tmp}.$(head -n 5 /dev/urandom | base64 | tr '/' '+' | tr -d '\n' | cut -c-10)"