> On Mon, 12 Aug 2019, Jason Barbier wrote: > > > https://emacs.stackexchange.com/questions/5779/how-to-convert-dos-windows-newline-characters-to-unix-format-within-gnu-emacs > > that covers it with emacs > > Jason, > > I looked at that thread and clicking on emacs' : in the status bar confirmed > it is seen as in UNIX mode, but I still see the ^M in the file. > > For anyone who wants to play with this, I uploaded the smallest of the four > files (~13M) to fileconvoy.com where it will be available for 5 days. The > URL is <https://tinyurl.com/y54p8xgv>.
# file hatchery_returns-2019-08-12.csv hatchery_returns-2019-08-12.csv: ASCII text, with very long lines, with CR, LF line terminators # tr -d "\r" < hatchery_returns-2019-08-12.csv > hatchery_returns-2019-08-12.clean # file hatchery_returns-2019-08-12.clean hatchery_returns-2019-08-12.clean: ASCII text, with very long lines Please follow given examples exactly, tr "\r" "\n" was not given by anyone that I saw in the thread, no sure how are where you came up with that. -- Rod Grimes [email protected] _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
