I need to βfindβ all lines with the exact number: 0.0% , but there are numbers in my file as well, such as 100.0%
how can I say "sed" to find EXACT 0.0% and ignore 100.0% something like this: [0].[0]%
my favorit cmd:
more input.txt | sed -n '/0.0%/p' > output.txt
inside my file the lines are like this:
0 packets received, 100.0% packet loss 3 packets received, 0.0% packet loss
thanks for the help, I know thats basic stuff but, .... ;-)))
source share