I have a file with \r\n
line endings (CRLF carriage return line feed).
This command works:
$ csplit --silent --prefix=email-emailbad.txt- \
--digits=3 emailbad.txt '/^\.^M/'+1 '{*}'
This requires that I press CTLR+V and then CTRL+M to insert an actual carriage return character.
I want this to work, so that I'm using only printable characters (for SVN, etc.)
$ csplit --silent --prefix=email-emailbad.txt- \
--digits=3 emailbad.txt '/^\.\r/'+1 '{*}'
I've tried with single and double quotes, and without quotes. Any suggestions welcome.