Warning: unrecognized character escape sequence: \/
Brought to you by:
soepy
Thank you for FART 1.99b.
When replacing a string that has a forward slash, FART produces a warning:
Warning: unrecognized character escape sequence: \/
But it still works.
Here is an example:
fart.exe -C "%ProgramFiles%\OpenSSH\etc\passwd" "\/home\/" "\/cygdrive\/c\/Users\/"
There are also some other examples in the comments/discussion of the article here:
https://emtunc.org/blog/03/2011/farting-the-easy-way-find-and-replace-text/
Thank you.
Greetings!
I use
but experience the same "Warning: unrecognized character escape sequence: \/" issue, but in my case FART 1.99b does 0 replacements...
Is there workaround to replace "\/" with "/"?
Thank you.
fart.exe doesn't make replacements when you pass '--preview'.
OK, got it.
However nothing changes if I remove '--preview' key.
Also, this project moved to https://github.com/lionello/fart-it
Thank you for the suggestion.
I create a new issue at the current project's home.