finding files in dos format
dbn.lists at gmail.com
Wed Feb 21 07:57:14 PST 2007
On 2/21/07, Ag. Hatzimanikas <a.hatzim at gmail.com> wrote:
> This simple loop should do the job,checked in bash/zsh.
> for filename in $(find . -type f);do
> if [[ -n $(file $filename |grep CRLF) ]]
Slightly more slimmed down:
if grep -q '^M$' $filename; then
I quickly tested that, but I'm pretty sure it works. You have to play
the same tricks with ^M as Ag mentioned before.
More information about the blfs-support