projects
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03e0dc4
)
added bat script
author
Matthew Owens
<matthew@owens.tech>
Thu, 30 Jul 2020 09:20:05 +0000
(10:20 +0100)
committer
Matthew Owens
<matthew@owens.tech>
Thu, 30 Jul 2020 09:20:05 +0000
(10:20 +0100)
bat
[new file with mode: 0755]
patch
|
blob
diff --git a/bat
b/bat
new file mode 100755
(executable)
index 0000000..
ccfa885
--- /dev/null
+++ b/
bat
@@ -0,0
+1,3
@@
+#!/bin/bash
+
+acpi | awk '{sum+=$4} END {print sum/NR,"%"}'