BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000892 [BusyBox] Documentation major always 06-01-06 10:41 06-04-06 03:09
Reporter chris_brand View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0000892: dos2unix/unix2dos options are wrong
Description This is what the documentation online at http://www.busybox.net/downloads/BusyBox.html [^] says :
dos2unix

dos2unix [option] [FILE]

Converts FILE from dos format to unix format. When no option is given, the input is converted to the opposite output format. When no file is given, uses stdin for input and stdout for output.

Options:

        -u output will be in UNIX format
        -d output will be in DOS format

unix2dos

unix2dos [option] [FILE]

Converts FILE from unix format to dos format. When no option is given, the input is converted to the opposite output format. When no file is given, uses stdin for input and stdout for output.

Options: -u output will be in UNIX format
        -d output will be in DOS format

In fact it seems to be the other way round (from my experiments). i.e. -d gives unix line endings and -u gives dos ones. It's probably a bug, but easier to change the docs than the code.
Additional Information
Attached Files

- Relationships
has duplicate 0000893closed BusyBox dos2unix does the opposite when called with full path 

- Notes
(0001391)
bernhardf
06-01-06 11:33

Should be fixed as of r15261.

Please let me know if it's ok now and thanks for pointing that out.
 
(0001396)
bernhardf
06-04-06 03:09

Fixed in r15261.

Thanks for bringing this to our attention!
 

- Issue History
Date Modified Username Field Change
06-01-06 10:41 chris_brand New Issue
06-01-06 10:41 chris_brand Status new => assigned
06-01-06 10:41 chris_brand Assigned To  => BusyBox
06-01-06 11:32 bernhardf Relationship added has duplicate 0000893
06-01-06 11:33 bernhardf Note Added: 0001391
06-01-06 11:33 bernhardf Status assigned => confirmed
06-04-06 03:09 bernhardf Status confirmed => closed
06-04-06 03:09 bernhardf Note Added: 0001396
06-04-06 03:09 bernhardf Resolution open => fixed
06-04-06 03:09 bernhardf Fixed in Version  => 1.2.x


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker