txt文件转成bin文件shell脚本
来源:互联网 发布:微信版邀请函制作软件 编辑:程序博客网 时间:2024/06/05 19:22
#!/bin/shfor file in `ls -1 *.txt`dodos2unix ${file}#echo "file:${file}"rm -rf ${file}.binwhile read linedo#echo "line:${line}"echo -e -n "`echo "${line}" | cut -d : -f 2 | sed 's/ //g' | sed 's/../\\\x&/g'`\c" >> ${file}.bindone < ${file}done
0 0
- txt文件转成bin文件shell脚本
- nc文件转成txt文本文件
- shell脚本中把txt文件中空格换成,逗号
- matlab读寫文件--bin/txt/csv
- shell脚本文件 line 1: #!/bin/bash 没有那个文件或目录
- java工具---将txt文件转成xml格式的文件
- Java实现将txt文件转成xls文件
- 【SHELL脚本】文件操作
- SHELL脚本读文件
- shell脚本处理文件
- shell脚本文件参数
- shell脚本文件操作
- shell脚本文件参数
- shell脚本读取文件
- 树莓派Shell脚本文件
- shell脚本格式化文件
- shell脚本 文件拷贝
- shell脚本创建文件
- android下载学习和handler
- 【项目异常】nested exception is java.lang.NoClassDefFoundError: org/aspectj/util
- VC提示msedv.exe 错误
- 在 swift中处理网络请求
- xxxxxxx
- txt文件转成bin文件shell脚本
- ARC下OC对象使用assign和使用weak的区别
- 第二周项目2-就拿胖子说事
- android 用GridView加载Bitmap 内存溢出问题总结
- Java集合总结之Collection整体框架
- 为子Activity添加左向向上返回剪头按钮
- JSF框架模式
- 单例模式的设计
- Android SDK 国内镜像