[TxMt] quick perl question
Charilaos Skiadas
cskiadas at uchicago.edu
Sat Feb 25 06:43:39 UTC 2006
On Feb 25, 2006, at 12:32 AM, Oliver Taylor wrote:
> Forgive the ignorance...
>
> perl -pe '
> s/"/\"/g;
> '
>
> This there any reason that the above wouldn't work? I'm guessing it
> has to with the "-pe" options (which I know nothing about).
It would probably help if you told us what you wanted it to do. I'm
guessing you want it to replace all " with \", in which case you
would want to escape the \, i.e. s/"/\\"/g
Haris
More information about the textmate
mailing list