Closed HenryNe closed 7 years ago
Fix the error #63 in bash 3.1:
/tmp/disk_operations_data.sh: line 3: unexpected argument (' to conditional binary operator /tmp/disk_operations_data.sh: line 3: syntax error near([' /tmp/disk_operations_data.sh: line 3: `[[ $("sfdisk" --version) =~ ([0-9][.][0-9.][0-9.]) ]] && version="${BASH_REMATCH[1]}"'
Store regular expression into variable, before us it.
Thanks
Fix the error #63 in bash 3.1:
Store regular expression into variable, before us it.