Extrair numners do String Linux
$ NUMBER=$(echo "I am 999 years old." | grep -o -E '[0-9]+')
$ echo $NUMBER
999
Comfortable Cardinal
$ NUMBER=$(echo "I am 999 years old." | grep -o -E '[0-9]+')
$ echo $NUMBER
999
echo 'Insert completed. 100 rows added ' | awk '{print $(NF-2)}'