![]() ![]() \s \s # 1 or more Spaces followed by the Characters "", then 1 or more Spaces. We need this to handle possible fractional seconds. ![]() This is the 1st set of numbers in the Interval column. With egrep, you will need to change the escaping. grep -P # The "-P" flag turns on PCRE regex matching, which is not the same as egrep. It anycodings_pcap also uses an OR to grab the header by anycodings_pcap matching the characters "Interval |". Grep will use the anycodings_pcap "Digit(s)Space(s)Space(s)" anycodings_pcap character sequence in the Interval anycodings_pcap column to match the lines with data. Once tshark produces output, we use grep anycodings_pcap with regex to extract the lines we want anycodings_pcap to save. Part 2: Extract the desired lines with grep
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |