3 ms·
Did not know this: “ use | (or anything else!) as your delimiter rather than /. sed takes the first character after the command as the delimiter, and / will sh
by gigatexal 4y ago
Did not know this:
“ use | (or anything else!) as your delimiter rather than /. sed takes the first character after the command as the delimiter, and / will show up in things that you want to replace pretty often! Writing gsed 's|/path/file.js|/path/file.ts|' is nicer than gsed 's/\/path\/file.js/\/path\/file.ts/'.”
Thank you!!!