4 cat input.txt | while read line; do
14 if [ "${password:$min:1}" = "$char" ] || [ "${password:$max:1}" = "$char" ]; then
15 if [ "${password:$min:1}" != "${password:$max:1}" ]; then
16 echo "Got valid line! $line"
22 echo "Got $(check_file | wc -l) valid lines"