REGULAR EXPRESSION WITH GREP – DOT

grep searches the named input FILEs (or standard input if no files are named, or if a single hyphen-minus (-) is given as file name) for lines containing a match to the given PATTERN. By default, grep prints the matching lines. commandline session $ cat first.txt name-jeffrin Age-35 Sex-Male $ grep 3. first.txt Age-35 $ …