Sed command usage
来源:互联网 发布:linux统计文件数量 编辑:程序博客网 时间:2024/04/27 23:01
Replace string using REGExpression
sed 's/<pattern>/<string/g' file
Example:
sed 's/[0-9]//g' test.txt
Remove lines
sed '/<pattern>/d' file
Example:
sed '/[^//]$/d' test.txt
- Sed command usage
- SED usage
- sed command
- sed usage notes
- linux -df command usage
- linux find command usage
- linux shell command usage
- Tee Command Usage Examples
- x264 command line usage
- umount command usage
- Command: Query port usage
- crash tools command usage
- GIT command usage
- [Linux Command--01]: vim usage
- sed -- command function
- Linux Shell Sed command
- sed command
- Linux sed command
- CSDN的SNS还是挺雷人的啊!有点脱离实际了!
- ImageMagick使用
- Linux下的主要的C语言编译器
- Deserializing a String Array
- AFX中的全局函数列表
- Sed command usage
- 英语小荟萃
- 手把手教你用c#做个Splash
- 视口与摄像机 (viewport & camera) 翻译
- JAVA面试笔记(7)
- 用STL求子串
- 买车时的砍价技巧
- 定位进程端口---->文件
- Oracle服务使电脑反应特慢