resource-agents
resource-agents copied to clipboard
Low: use bash in rgmanager/src/netfs.sh rather than clunky sed/grep/cut
since bash can do find and replace, regex matches and variable extraction lets use it.
$ set -o posix
$ a='proto=x=y'
$ b='#proto=x=y'
$ [ ${a%%=*} == proto ] && echo yes
yes
$ [ ${b%%=*} == proto ] && echo yes
$
this is also bash in first line for netfs