Because I’m useless with sed && AWK

sed regex (escape special chars)
sed 's/[

]//g' |

print the second last field from awk
awk ' { print ( $(NF-1) ) }'

print only numbers
sed 's/[^0-9]*//g'

Leave a Reply

Your email address will not be published. Required fields are marked *