From: Matthew Owens Date: Thu, 30 Jul 2020 09:20:05 +0000 (+0100) Subject: added bat script X-Git-Url: https://git.owens.tech/dummy.html/dummy.html/git?a=commitdiff_plain;h=2141c5116479ddfef68b1324d9abc7cdde1281b8;p=scripts.git added bat script --- diff --git a/bat b/bat new file mode 100755 index 0000000..ccfa885 --- /dev/null +++ b/bat @@ -0,0 +1,3 @@ +#!/bin/bash + +acpi | awk '{sum+=$4} END {print sum/NR,"%"}'