- 论坛徽章:
- 0
|
回复 3# blackold
弱弱的问一下 俺这为什么不行啊 我一开始也是想写成黑哥那样的 但是不好使- [oracle@s12071 ~]$ cat -A file
- aaaaaaaa|I2A2|2313032|14:29:24|0.00|000000|M-=M-; M-RM-W M-3M-I M-9M-&|0.02|2300000000143105|^I$
- aaaaaaaa|I2A2|4451030|14:34:29|0.00|000000|M-=M-; M-RM-W M-3M-I M-9M-&|0.02|2300000000143106|$
- bbbbbbbb|I2A2|2313032|14:42:07|0.00|050003|M-=M-; M-RM-W M-JM-' M-0M-\|0.02|2300000000143107|^I$
- bbbbbbbb|I2A2|4451030|14:42:38|0.00|050003|M-=M-; M-RM-W M-3M-, M-JM-1|0.02|2300000000143108|$
- bbbbbbbb|I2A2|4451030|14:50:47|0.00|000000|M-=M-; M-RM-W M-3M-I M-9M-&|0.03|2300000000143109|^I$
- bbbbbbbb|I2A2|4451030|14:58:56|0.00|000000|M-=M-; M-RM-W M-3M-I M-9M-&|0.02|2300000000143110|$
- [oracle@s12071 ~]$ grep '\t file
- [oracle@s12071 ~]$ grep "\t$" file
- [oracle@s12071 ~]$ grep -e "\t$" file
- [oracle@s12071 ~]$ grep --version
- grep (GNU grep) 2.5.1
- Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
- This is free software; see the source for copying conditions. There is NO
- warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
复制代码 |
|