sorry if repeated but i can not find it. I have the following shell string
#!/bin/sh
word_1="/dev/sda5 233371648 242774015 9402368 4,5G 82 Linux swap / Solaris"
I need to extract all the integer numbers from it and save it into array ? Is it possible to have 4,5G inside the same array as the integers. If not I am fine with extracting the integers numbers only.