tr
摘要:
tr [options] source-char-list replace-char-list 现随便写一个testroot@ubuntu:~# cat test.txt asdfdsgr th#dfg sdfgthsdfgdfg然后使用tr效果如下root@ubuntu:~# tr -cd '\r' < test.txt > atest.txtroot@ubuntu:~# cat atest.txt root@ubuntu:~# tr -cs '\r' < test.txt > atest.txtroot@ubuntu:~# cat a 阅读全文
posted @ 2011-12-18 16:30 wangbokun 阅读(256) 评论(0) 推荐(0)
浙公网安备 33010602011771号