Не могли бы вы попробовать следующее.
awk 'match($0,/ARG VERSION="[^"]*/){print substr($0,RSTART+13,RLENGTH-13)}' Input_file
Объяснение: Добавление подробного объяснения выше.
awk ' ##Starting awk program from here.
match($0,/ARG VERSION="[^"]*/){ ##Using match function to match regex ARG VERSION=" till " here.
print substr($0,RSTART+13,RLENGTH-13) ##Printing sub-string of current line starting point is RSTART ending point is RLENGTH.
}
' Input_file ##Mentioning Input_file name here.