Created
November 4, 2018 20:04
-
-
Save zachbellay/7866e648955653bf236c8e76729f1be3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for i in traces/*; do | |
if [ -d "$i" ]; then | |
trace=$(basename "$i") | |
MPKI=$(./run $i | grep -oP '(?<=MPKI: )[0-9]+([.][0-9]+)') | |
printf "%s : %s\n" "$trace" "$MPKI" | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment