'[' is a regex metacharacter, so perl's not seeing the statement you think you have. I don't think you could run that without some error message being shown.
Try
I can't swear I've got the winders command line syntax right, but I think I do.perl -p -i.bak -e"s/\[/\r\n[/g" f:\test.txt
After Compline,
Zaxo
In reply to Re: How to inject chr(10) chr(13) into a string
by Zaxo
in thread How to inject chr(10) chr(13) into a string
by Mark Weimer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |