[PATCH] minor cleanup for comments in dos2unix

Tito farmatito at tiscali.it
Mon Mar 20 07:17:54 UTC 2006


On Monday 20 March 2006 02:39, you wrote:
> On Saturday 18 March 2006 6:09 pm, Bernhard Fischer wrote:
> > On Thu, Mar 16, 2006 at 10:31:00PM +0100, Tito wrote:
> > >Hi,
> > >this patch fixes some comments in dos2unix that are wrong
> > >or that reports non existent features (that i've ripped out...)
> > >
> > >Ciao,
> > >Tito
> >
> > done (r14568).
> 
> I'm a little unclear on the current design of dos2unix: the comment implies 
> that it reverses whatever the current order is, regardless of what it was 
> told to do.  So that if somebody runs "dos2unix" from a script on every file 
> checked into a source tree to remove any dos brain damage, it'll actually 
> screw up files that aren't damaged?  Did it always do this, or is that new?  
> (Or am I mis-reading the comment?)
No, i removed the part doing this.  Now: 
dos2unix or unix2dos -u    convert to unix only
unix2dos or dos2unix -d    convert to dos only

Ciao
Tito
> Rob



More information about the busybox mailing list