Steve Kemp <s...@debian.org> wrote: > Because you've got nested quotes. e.g. This fails: > sed -i "s/"bob"/"chris"/g" /tmp/blah
IMO that's a bad example, because it's not clear that the quotes surrounding bob and chris are processed by the shell and therefore never seen by sed. It "seems" to work even though you (correctly) say it doesn't. Chris -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org