|
Blue Forest http://www.lslnet.com at 11:18 on June 26, 2006
Asked a question, please help, thank you I have a document (rather, eight more than 10 million firms)
11:22:33
:33:22
44:555:77
5555:11:7777
It put a box of how to use awk deleted Bank |
Asked a question, please help, thank you File Format :
11:22 :33
:33 :22
44:555 :77
444: :44
Aa 4 : : |
Asked a question, please help, thank you Airspace or jurisdictions is contained box? |
Asked a question, please help, thank you Includes box domain |
Asked a question, please help, thank you We help out right. |
Asked a question, please help, thank you [code]awk F : 'index ($ 0, "") ==0' filename[/code] |
Asked a question, please help, thank you Awk-F : 'index ($ 0, "") ==0' filename
The index ($ 0, "")
1. Double quotation marks?
2. What is the meaning of words |
Asked a question, please help, thank you -->
According to your request does not include the printed ballots, the trip!
--> |
Asked a question, please help, thank you I might say that the problems do not understand the actual document also contains figures out of the box
So, how do I do |
Asked a question, please help, thank you I now have the means to make the two ":" The number of middle - and no characters (except ballots) and removed. |
Asked a question, please help, thank you [code]awk F : 'index ($ 0 ": :") ==0' filename[/code] |
Asked a question, please help, thank you Grep was OK.
Grep-V ": :" The file |
Asked a question, please help, thank you He is the angle of the text, so. . . . : : |
Asked a question, please help, thank you Guangzhou Trade Fair is the result? : : : Oops :
[code]cat A file|tr-d '' |grep-V ': M-#M- :' |tr-d '$#M-' |grep-V ': :'
11:22:33
:33:22
44:555:77
[/code] |
| |