I have an applescript for doing certain things, like search and replace.set lol to quoted form of POSIX path of (choose file with prompt VlJ Fil)That chooses a file then im doing thisset script1 to sed 's@id_Shops@ShopID@g' & loldo shell script script1But sed tells me bad flag in substitute command: '/' number 1I figured it was the slashes in the path, how can i fix that?I have tried to use sed -i but it gives me this error sed: -i may not be used with stdinHow can i do to avoid the path conflict in sed?
Handling sed variables with paths in them?
shell script;sed;quoting