Is there a csh script / command to display all files in the source source tree that have line endings that display as “^ M” in emacs (under Linux).
Thank!
Based on my answer to another question :
fgrep -rl `echo -ne '\r'` .
find . -type f -exec grep $'\r' {} +
$'\r'probably bash needs to function correctly.
$'\r'
find . -type f -print | xargs grep 'cntl-M$'
where cntl-M is entered by the first input of cntl-V
Source: https://habr.com/ru/post/1698959/More articles:More Firefox Tools for Checking JavaScript Syntax? - javascriptHow to send an array through an HTTP service in Adobe Flex 3 - httpRead a 64-bit whole line from a file - c ++How to configure import path in Visual Studio IronPython projects - pythonWhat is the correct way to avoid text in JSON responses? - jsonIs it possible to simulate the spacing between table cells, so that the vertical and horizontal distances are different? - htmlIs there a way to do the reverse upgrade using Subversion? - svnJython и Java вложенный класс - javaVSTO: Why is OfficeRibbon.Context null? - c #How to pause UIImageView animation - iphoneAll Articles