Menu

#14 Recursive example wrong

v1.0_(example)
closed-fixed
None
5
2017-05-18
2017-05-14
Beep6581
No

dos2unix 7.3.4 (2016-05-24)

The recursive example in the man page does not work and it does not handle files with quotation marks and other special characters in their names:
find . -name '*.txt' |xargs dos2unix

This works and is more safe:
find rtdata/profiles -name '*.pp3' -print0 | xargs -0 dos2unix --
or
find . -name '*.txt' -exec dos2unix {} \;

Discussion

  • Erwin Waterlander

    • assigned_to: Erwin Waterlander
     
  • Erwin Waterlander

    Hi Beep,

    You are right. I will fix it. Thanks for the report.

    best regards,

    Erwin

     
  • Erwin Waterlander

    Fix committed to git.
    commit 37f77f1fc55342edb91e3f5ded6ffdc10475d03a

     
  • Erwin Waterlander

    • status: open --> closed-fixed
     

Anonymous
Anonymous

Add attachments
Cancel