script and pformat

This commit is contained in:
samuel 2019-07-25 16:11:29 +02:00
commit 7d3544f44e
10 changed files with 248 additions and 21 deletions

2
awk1
View file

@ -1,2 +1,2 @@
pwrstat -status | awk '{ print "12345," $0; }' > ups
pwrstat -status | awk '{ print $0; }' > ups