I want to replace
/oracle/apps/xxsnc/ab to /xxsnc/oracle/apps/ab
i tried
find . -type f exec sed -i 's//oracle/apps/po//xxsnc/oracle/apps/ab/g' {} \\;
its throwing error like sed: e expression #1, char unknown to s
Pls help
find ./ -type f -exec sed -i -e 's/\/oracle\/apps\/xxsnc\/ab/\/xxsnc\/oracle\/apps\/ab/gc' {} \;
Using \\
(escape character).
The optional c
flag in sed prompts before each change.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.