DOS 2 UNIX

[root@sunport ~]# echo "test" > file
[root@sunport ~]# unix2dos file
unix2dos: converting file file to DOS format ...
[root@sunport ~]# head -1 file | od -c
0000000 t e s t \r \n
0000006
[root@sunport ~]# dos2unix file
dos2unix: converting file file to UNIX format ...
[root@sunport ~]# head -1 file | od -c
0000000 t e s t \n
0000005
[root@sunport ~]#
Сайт создан в системе uCoz