[PLUG] Translating ^M to \n
Rich Shepard
rshepard at appl-ecosys.com
Tue Aug 13 14:58:02 UTC 2019
On Mon, 12 Aug 2019, Rodney W. Grimes wrote:
> # 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
Rod,
Here,
tr -d "\r" < hatchery_returns-2019-08-12.csv > hatchery_returns-2019-08-12.clean
followed by
file hatchery_returns-2019-08-12.clean
shows
hatchery_returns-2019-08-12.clean: ASCII text, with very long lines, and no
line terminators
Isn't that interesting?
Will try dd next.
Thanks,
Rich
More information about the PLUG
mailing list