This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ITP dos2unix 5.2.1-1


On 3/16/2011 3:59 AM, Erwin Waterlander wrote:
> dos2unix on cygwin is different, it is 'conv'. The implementation I
> propose is used on major Linux distributions. You could keep 'conv' on
> cygwin. I propose to obsolete the links dos2unix and unix2dos to conv,
> and replace them with the dos2unix implementation as used on Linux.

Then you're going to have to explain why the other implementation is
better (not just "but that's the one the linux people use": cygwin is
not linux) AND ensure that the new version is capable of ALL the modes
of operation that the old version supports.

Otherwise, you may break people's existing usage patterns.

Offhand, I can think of several (there might be more):
* The --safe and --force options
* The ability to operate as part of a pipe (stdin/stdout)
* --auto mode (with 3 formats, dos/unix/mac, there is no "opposite")
  but that doesn't really matter for the explicit d2u/u2d variants.
  Only 'conv' needs to worry about --auto)

Now, I'm not opposed to removing u2d/d2u/dos2unix/unix2dos from
cygutils.  Less apps to support makes life easier for me.  I just don't
want to break anyone's existing setup, usage patterns, or scripts.

--
Chuck
cygutils maintainer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]