怎样把.HEX文件转换为FRB文件

在Windows下换行时,有两个字符:回车(/r)和换行(/n)。但在Linux下,只有一个换行(/n)可使用unix2dos和dos2unix命令进行格式的转换:参数:-k 保持输出文件和输入文件的日期时间戳不变-o file 默认模式 . 将file转换,并输出到file-n infile outfile 新模式. 转换infile, 并输出到outfile1. unix2dos假设用vi新建一文本文件,输入123456[root@centos test]# ls -l a.txt-rw-r--r-- 1 root root 7 Jan 7 21:31 a.txt[root@centos test]# hexdump -c a.txt0000000 1 2 3 4 5 6 /n0000007[root@centos test]# unix2dos -n a.txt b.txtunix2dos: converting file a.txt to file b.txt in DOS format ...[root@centos test]# ls -l
文章标签:

本文链接:https://www.u1e.cn/baike/a/62c29f3d703e19f26678e0ff [复制]

猜你喜欢

歇后语大全

还没有人回应过