mirror of
https://github.com/pi-hole/pi-hole
synced 2024-11-18 14:18:15 +00:00
Fix chronometer interpreting summaryRaw
This commit is contained in:
parent
3060c4d887
commit
f8944177a0
@ -22,7 +22,7 @@ function GetJSONValue {
|
|||||||
retVal=$(echo $1 | sed 's/\\\\\//\//g' | \
|
retVal=$(echo $1 | sed 's/\\\\\//\//g' | \
|
||||||
sed 's/[{}]//g' | \
|
sed 's/[{}]//g' | \
|
||||||
awk -v k="text" '{n=split($0,a,","); for (i=1; i<=n; i++) print a[i]}' | \
|
awk -v k="text" '{n=split($0,a,","); for (i=1; i<=n; i++) print a[i]}' | \
|
||||||
sed 's/\"\:\"/\|/g' | \
|
sed 's/\"\:/\|/g' | \
|
||||||
sed 's/[\,]/ /g' | \
|
sed 's/[\,]/ /g' | \
|
||||||
sed 's/\"//g' | \
|
sed 's/\"//g' | \
|
||||||
grep -w $2)
|
grep -w $2)
|
||||||
|
Loading…
Reference in New Issue
Block a user