RosettaCodeData/Task/Kernighans-large-earthquake-problem/UNIX-Shell/kernighans-large-earthquake-problem.sh
2023-07-01 13:44:08 -04:00

5 lines
111 B
Bash

#!/bin/bash
while read line
do
[[ ${line##* } =~ ^([7-9]|6\.0*[1-9]).*$ ]] && echo "$line"
done < data.txt