Hello, According to the grep manual page I can use the -P option to use Perl regular expressions as follows:
grep -P PERL_REGEX INPUT_FILE however, I cannot get the following pattern to match a literal dollar sign: grep -P makan\$ file.txt when I know this pattern is in the file. It matches the shorter string without the dollar sign if I leave \$ out. Thanks, Jon