Hot answers tagged


To filter out either message in one grep, pull in the -E extended regular expression flag (for the "zero or once" meaning of ? below), and the -v inverse match: grep -Ev '^Remote:( Checking segments [[:digit:]]{1,3}\.[[:digit:]]%)?$' which says that the lines should (inverse) match: beginning of line ^ the string Remote: the grouped ( ... ) set of ...

Only top voted, non community-wiki answers of a minimum length are eligible