mirror of https://github.com/01-edu/public.git
xpetit
3 years ago
2 changed files with 6 additions and 12 deletions
@ -1,13 +1,7 @@ |
|||||||
#!/usr/bin/env bash |
#!/usr/bin/env bash |
||||||
|
|
||||||
PWD=$(pwd) |
INTERVIEWNUMBER=$(head -n 179 streets/Buckingham_Place | tail -n 1 | cut -d "#" -f2) |
||||||
|
echo "$INTERVIEWNUMBER" |
||||||
for folder in $PWD |
cat interviews/interview-"$INTERVIEWNUMBER" |
||||||
do |
grep -A 4 L337 vehicles | grep -A 3 -B 1 Honda | grep -A 2 -B 2 Blue | grep -B 4 "Height: 6" |
||||||
cd "$folder" || exit |
cat memberships/AAA memberships/Delta_SkyMiles memberships/Museum_of_Bash_History memberships/Terminal_City_Library| grep "$MAIN_SUSPECT" | wc -l |
||||||
INTERVIEWNUMBER=$(head -n 179 streets/Buckingham_Place | tail -n 1 | cut -d "#" -f2) |
|
||||||
echo "$INTERVIEWNUMBER" |
|
||||||
cat interviews/interview-"$INTERVIEWNUMBER" |
|
||||||
grep -A 4 L337 vehicles | grep -A 3 -B 1 Honda | grep -A 2 -B 2 Blue | grep -B 4 "Height: 6" |
|
||||||
cat memberships/AAA memberships/Delta_SkyMiles memberships/Museum_of_Bash_History memberships/Terminal_City_Library| grep "$MAIN_SUSPECT" | wc -l |
|
||||||
done |
|
||||||
|
Loading…
Reference in new issue