Hi All,
 
I am using busybox v1.10.2, I seem to be having some issues with
unix2dos applet in this build.
 
# unix2dos --help
BusyBox v1.10.2 (2009-06-19 11:19:36 PDT) multi-call binary
 
Usage: unix2dos [option] [FILE]
 
Convert FILE from unix to dos format.
When no file is given, use stdin/stdout.
 
Options:
        -u      dos2unix
        -d      unix2dos
 
 
So when I try the applet, I see the following
 
# unix2dos -d unix.txt dos.txt
unix2dos: can't open 'dos.txt': No such file or directory
# touch dos.txt
# unix2dos -d unix.txt dos.txt [returns back to the prompt immediatley]
# echo $?
0
# cat dos.txt [nothing to display]
# 
 
Legend: 
    - unix.txt - is a linux file [contains the output of "unix2dos
--help"]
    - do.txt - is a empty file
 


When the run the command without the output file, it just returns back
the prompt without any errors
# unix2dos -d unix.txt  
# echo $?
0
# 
 
Is there something that I am missing or doing wrong?
 
Thanks,
Sreen
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to