@@ -141,7 +141,7 @@ defmodule IO do
141141      non-textual inputs. 
142142
143143    * if `line_or_chars` is `:line`, the device is iterated line by line. 
144-       CRFL  newlines  ("\r  \ n\n ". 
144+       CRLF  newlines  ("\\  r \\ n") are automatically normalized to "\ \ 
145145
146146    * if `line_or_chars` is `:eof` (since v1.13), the device is iterated until `:eof`. 
147147      If the device is already at the end, it returns `:eof` itself. 
@@ -196,7 +196,7 @@ defmodule IO do
196196      non-textual inputs. 
197197
198198    * if `line_or_chars` is `:line`, the device is iterated line by line. 
199-       CRFL  newlines  ("\r  \ n\n ". 
199+       CRLF  newlines  ("\\  r \\ n") are automatically normalized to "\ \ 
200200
201201    * if `line_or_chars` is `:eof` (since v1.13), the device is iterated until `:eof`. 
202202      If the device is already at the end, it returns `:eof` itself. 
@@ -612,7 +612,7 @@ defmodule IO do
612612
613613  The `device` is iterated by the given number of characters 
614614  or line by line if `:line` is given. In case `:line` is given, 
615-   "\r  \n " is automatically normalized to "\n ". 
615+   "\\  r \ \\n ". 
616616
617617  This reads from the IO as UTF-8. Check out 
618618  `IO.binstream/2` to handle the IO as a raw binary. 
@@ -666,8 +666,8 @@ defmodule IO do
666666  and write. 
667667
668668  The `device` is iterated by the given number of bytes or line 
669-   by line if `:line` is given. In case `:line` is given, "\r  \n " 
670-   is automatically normalized to "\n ". Passing the number of bytes 
669+   by line if `:line` is given. In case `:line` is given, "\\  r \ \ 
670+   is automatically normalized to "\\  n". Passing the number of bytes 
671671  should be the preferred mode for reading non-textual inputs. 
672672
673673  Note that an IO stream has side effects and every time 
0 commit comments