使用tr -d 'xyz' < file代替cat file | tr -d 'xyz'
来源:互联网 发布:淘宝40磅反曲弓 编辑:程序博客网 时间:2024/04/30 20:10
$ cat file | tr -d 'xyz'
- runs two processes, one for cat and one for tr. This is less
- efficient than
- 两个进程
- $ tr -d 'xyz' < file
- in general, "cat file | somecommand" can be more efficiently
- replaced by "somecommand < file" or (especially for multi-file input)
- $ somecommand file [file ...]
- cat file1 file2
- 只有多个文件的时候cat的效率才比<高
- 使用tr -d 'xyz' < file代替cat file | tr -d 'xyz'
- XYZ
- xyz
- xyz
- XYZ
- tr'y--catch/IO流/file/
- cat and tr << <<-
- tr 使用
- tr
- tr
- tr
- tr
- tr
- tr
- tr
- tr
- tr
- tr
- window 7 x86安装openNI
- uva414 Machined Surfaces
- java优化编程
- 用java写的随即汉字生成器
- 使用如何取出windows系统用户输入的闲置时间
- 使用tr -d 'xyz' < file代替cat file | tr -d 'xyz'
- DOM Window 对象
- sql中的字符串匹配、函数大全
- iOS5系统API和5个开源库的JSON解析速度测试
- NANDflash和NORflash的区别
- Programming with libpcap,待续。。。
- HTTP协议详解
- 动态分配内存创建三维数组
- andriod 开发环境 SDL init failure, reason is: No available video device错误