When run ls
to print the file list
#+begin_src ipython :session sql :results output
! ls | head -n 5
#+end_src
#+RESULTS:
: create.txt^M
: Lesson 10. Grouping Data.md^M
: Lesson 11. Working with Subqueries.md^M
: Lesson 12. Joining Tables.md^M
: Lesson 13. Creating Advanced Joins.md^M
There are always ^M
characters appended,
My machine info:
$ uname -a
Linux alpha 5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
How can I disable such a line-ending representation?
My machine is " Distributor ID: Ubuntu Description: Ubuntu 19.10 Release: 19.10 Codename: eoan "