[erlang-questions] Is there a way to stop the shell from doing special formatting?

Steve Vinoski vinoski@REDACTED
Wed Jun 5 20:52:11 CEST 2019


On Wed, Jun 5, 2019 at 2:24 PM Matthew Evans <mattevans123@REDACTED>
wrote:

> For example:
>
> 5> <<224,57,215,169,183,6>>.
> <<224,57,215,169,183,6>>
>
> 6> <<224,57,215,169,183,7>>.
> <<224,57,215,169,183,7>>
>
> 7> <<224,57,215,169,183,8>>.
> <<"à9ש·\b">>
>

Try turning off shell strings:

1> <<224,57,215,169,183,8>>.
<<"\3409\327\251\267\b">>
2> shell:strings(false).
true
3> <<224,57,215,169,183,8>>.
<<224,57,215,169,183,8>>

http://erlang.org/doc/man/shell.html#strings-1

--steve

>
>
>
>
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190605/4b5a9b15/attachment.htm>


More information about the erlang-questions mailing list