On Friday 19 June 2009 23:00, Alessandro Rubini wrote:
> > Usage: unix2dos [option] [FILE]
> >
> > Convert FILE from unix to dos format.
> > When no file is given, use stdin/stdout.
> 
> And when file is givem it is converted in-place, by creating a
> temporary file and then renaming.
> 
> > # unix2dos -d unix.txt dos.txt
> > unix2dos: can't open 'dos.txt': No such file or directory
> 
> It's not "unix2dos input-file output-file"
> The behaviour you describe is as expected.

Usage text is fixed now:

# ./busybox unix2dos --help
BusyBox v1.15.0.svn (2009-06-19 21:25:07 CEST) multi-call binary

Usage: unix2dos [OPTION] [FILE]

Convert FILE in-place from Unix to DOS format.
When no file is given, use stdin/stdout.

Options:
        -u      dos2unix
        -d      unix2dos

# ./busybox dos2unix --help
BusyBox v1.15.0.svn (2009-06-19 21:25:07 CEST) multi-call binary

Usage: dos2unix [OPTION] [FILE]

Convert FILE in-place from DOS to Unix format.
When no file is given, use stdin/stdout.

Options:
        -u      dos2unix
        -d      unix2dos

--
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to