indentation

This commit is contained in:
2024-12-06 02:46:03 +08:00
parent 3282ef2a35
commit 9b763d5b37

View File

@ -41,18 +41,17 @@ INPUT_RULES=$(cat input-rules)
if [[ ${KV_ARRAY[$i]} -eq $KEY ]]
then
KEY=${KV_ARRAY[$i+1]}
BREAK=1
break
BREAK=1
break
fi
done
if [[ $BREAK -eq 1 ]] ; then continue ; else break ; fi
if [[ $BREAK -eq 1 ]] ; then continue ; else break ; fi
done
printf "%s\n" "$KEY"
CACHED_LINE=$( printf "%s" "$CACHED_LINE" | grep -v "$KEY" )
done | tac | paste -s -d' '
done
} |
tee final-output |
awk '
BEGIN{ total = 0 }
{