#!/bin/bash cd /home/a/top/work/app echo "Testing specific sequence outputs:" echo "" echo "Standard output for length 2:" cargo run --bin generate -- 2 2>&1 | grep "1\. \[" | head -1 echo "" echo "Pretty output for length 2:" cargo run --bin generate -- --pretty 2 2>&1 | grep "1\. \[" | head -1