mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-01-08 23:13:08 -06:00
15 lines
225 B
Awk
15 lines
225 B
Awk
|
BEGIN {
|
||
|
printf "["
|
||
|
previous=""
|
||
|
}
|
||
|
match($0, /@test "(.*)" \{/, arr) {
|
||
|
if ( previous != "" ) {
|
||
|
printf "%s, ",previous
|
||
|
}
|
||
|
previous = sprintf("\"%s\"", arr[1])
|
||
|
}
|
||
|
END {
|
||
|
printf "%s",previous
|
||
|
print "]"
|
||
|
}
|