Escaping double quotation marks in sed
问题 Creating a search and replace function for my application, I am running a test scenario with 3 files, array tscript test I am trying to escape double quotation marks but it wont work script file contains variableName=$1 sed "s#data\-field\=\"${variableName}\.name\"#data\-field\=${variableName}\.name data\-type\=dropdown data\-dropdown\-type\=${variableName}#g" test test file contains data-field=“fee_category.name” data-field=“tax_type.name” array file contains fee_category tax_type There is