#counts how many matches there are in the looped row #counts number of commas in each looped row
comma_num=`awk "FNR=="$i" {print}" "$ind"|grep下面是可以使用的100行较小的节
., Ltd Dec 30 14:39:44 nicolas-desktop kernel: [ 7375.487566] usb 4-4: new full-speed USB devicenumber 4 using ohci-pciDec 30 14:39:45 nicolas-desktop kernel
] usb 4-4: New USB device found, idVendor=090c, idProduct=1000 [ 2398.924885] usb 4-4: Product: Silicon-Power64G[ 2398.924890] usb 4-4: Manufacturer: UFD 3.0
[ 2398.924894]