I need to find the line in a
lvm.conf file which starts with string,
global_filter and remove everything between the square brackets except
There is only 1 line which starts with global_filter.
global_filter = [ "a|^/dev/sda.*$|", "a|^/dev/sdb.*$|", "r/.*/"]
After the Removal, it should be -
global_filter = [, "r/.*/"]