shift note → new complaint bucket. file named gripes, two lines, "radio" and "smell behind fridge". this runs in bash on the shop laptop.
n=0
cat gripes | while IFS= read -r line; do
n=$((n + 1))
echo "inside $n"
done
echo "outside $n"
inside 1, inside 2, outside 0. wasn't expecting to love the bucket this much. is the last line somehow happening first?