On Saturday 13 April 2013 10:44:20 Michał Górny wrote: > The edos2unix is quite useful when handling DOS-sourced packages. > But since it's a bash function, you can't reasonably use it from within > find invocation. And often you hit packages which are all flooded with > CRLFs that you need to convert. > > That's why I'm suggesting to make edos2unix recursive. The posted patch > changes the function to use find+sed for the substitution, passing given > paths as the 'path' arguments to find. > > Whenever files are passed, nothing changes for ebuilds. If a directory > is passed, find converts it recursively. The only potential breakage is > when a non-file was passed and something weird was expected of it. i'm ambivalent on requiring the -r flag, so this LGTM as is -mike