dotfiles

<-- duh.
Log | Files | Refs | LICENSE

commit 3a0ea124ba918945347b87f0b402e1cc0276a573
parent 461edf05785878d324a0f87763d2902dd77fcdde
Author: hhvn <dev@hhvn.uk>
Date:   Fri, 23 Apr 2021 14:52:52 +0100

.s/o/sha256sum .s/o/sha512sum: openbsd versions

Diffstat:
A.scripts/openbsd-compat/sha256sum | 9+++++++++
A.scripts/openbsd-compat/sha512sum | 2++
2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/.scripts/openbsd-compat/sha256sum b/.scripts/openbsd-compat/sha256sum @@ -0,0 +1,9 @@ +#!/bin/sh + +exec $(basename "$0" | sed 's/sum$//') "$@" | tr -d '()' | awk ' + { + if ($2 == "") + print $1 " -" + else + print $4 " " $2 + }' diff --git a/.scripts/openbsd-compat/sha512sum b/.scripts/openbsd-compat/sha512sum @@ -0,0 +1 @@ +sha256sum +\ No newline at end of file