···44for r in us-east-1 us-west-2; do
55 for p in browse cgraph; do
66 for e in test stage prod; do
77- dir="/tmp/jws/${r}/${p}/${e}"
77+ dir="$HOME/.jws/${r}/${p}/${e}"
88 mkdir -p "$dir"
99 echo "Fetching ${r}/${p}/${e}"
1010 aws ec2 describe-instances --profile "${p}_${e}" --region "$r" --output text --query "Reservations[*].Instances[*].{
+1-1
bin/MACC02VK5ECHTD7/jws-grep
···11#!/bin/sh
2233-stuff=$(cat /tmp/jws/*/*/*/current)
33+stuff=$(cat ~/.jws/*/*/*/current)
4455for i in $@; do
66 stuff=$(echo "$stuff" | grep -i $i)