【linux】sed 批量替换 tab替换为空格
来源:互联网 发布:苏30mkk和苏30mki知乎 编辑:程序博客网 时间:2024/05/19 15:26
1:把文件filename中的a字符换成A字符
sed -i "s/a/A/g" filename
2:批量替换 替换dir文件夹下所有文件中的a字符变成A字符
sed -i "s/a/A/g" `grep a -rl dir/`
3:替换为空格 将tab替换为空格
sed -i "s/\t/ /g" filename
0 0
- 【linux】sed 批量替换 tab替换为空格
- linux sed 批量替换字符串
- linux sed 批量替换字符串
- linux sed 批量替换字符串
- linux sed 批量替换字符串
- linux sed 批量替换字符串
- linux sed 批量替换字符串
- linux sed 批量替换字符串
- Linux sed 批量替换字符
- linux sed 批量替换字符串
- linux sed 批量替换字符串
- linux sed 批量替换字符串
- linux sed 批量替换字符串
- linux sed 批量替换字符串
- linux sed 批量替换字符串
- linux sed 批量替换字符串
- linux sed 批量替换字符串
- linux sed 批量替换字符串
- 渗透测试工具sqlmap基础教程
- Android反挂钩技术-Java层
- java ClassNotFoundException和NoClassDefFoundException的差别
- Android小记:Animation的Interpolator使用方法
- Visual Studio远程调试监视器(MSVSMON.EXE)的32位版本不能用于调试64位进程或64位转储。请改用64位版本。
- 【linux】sed 批量替换 tab替换为空格
- ubuntu自主配置ip地址
- CentOS 6.4 下 sync
- Codeforces 306C White, Black and White Again (简单计数)
- 音频,PCM裸流的一些扫盲记录
- Android--跑马灯
- Git 工作区、暂存区和版本库
- iOS 自动布局图片类似微博
- ListView适应ScrollView的效果