Shells with the ability to treat `r` as a whitespace character
3
As a personal project, I'm trying to write a script to clean up some of the extraneous files that ship with Windows 10 that runs under Cygwin. I'd like the script to be copy and paste-able, which would require it to be robust against different kinds of newlines. Are there any sh -like shells that expose the ability to treat r as whitespace, possibly when some option is set? It's a strange thing to do. The answer might boil down to "yes, that is a strange thing to do and there's no way to do it".
cygwin newlines
share | improve this question
asked 3 hours ago
Gregory Nisbet
...