Scripts and simple texts
This commit is contained in:
parent
db23d16476
commit
dd5d596aa4
5 changed files with 73 additions and 0 deletions
48
script
Executable file
48
script
Executable file
|
|
@ -0,0 +1,48 @@
|
|||
#Should do something like
|
||||
|
||||
cat myfile |while read file
|
||||
do
|
||||
echo $file |awk '/State/' myfile >> > awk
|
||||
done
|
||||
|
||||
cat myfile |while read file
|
||||
do
|
||||
echo $file |awk '/Utility Voltage/' myfile >> > awk
|
||||
done
|
||||
|
||||
cat myfile |while read file
|
||||
do
|
||||
echo $file |awk '/Battery Capacity/' myfile >> > awk
|
||||
done
|
||||
|
||||
cat myfile |while read file
|
||||
do
|
||||
echo $file |awk '/Remaining Runtime/' myfile >> > awk
|
||||
done
|
||||
|
||||
cat myfile |while read file
|
||||
do
|
||||
echo $file |awk '/Load/' myfile >> > awk
|
||||
done
|
||||
|
||||
cat myfile |while read file
|
||||
do
|
||||
echo $file |awk '/Line Interaction/' myfile >> > awk
|
||||
done
|
||||
|
||||
cat myfile |while read file
|
||||
do
|
||||
echo $file |awk '/Test Result/' myfile >> > awk
|
||||
done
|
||||
|
||||
cat myfile |while read file
|
||||
do
|
||||
echo $file |awk '/Last Power Event/' myfile >> > awk
|
||||
done
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue