Replace command
| Newsgroups | gmane.editors.sed.user |
|---|---|
| Message-ID | <[email protected]> |
How replace pattern by other in the variable and with special chars. Below one example. var="DeviceURI smb://text:XptO%232015%[email protected]/RJOMK0202" command executed sed -ri "s/DeviceURI.+/${teste}/" <file> Thankyou, Miguel Sauaia Neto [Non-text portions of this message have been removed]