I want to check the absence of the following sequence of characters $$$$$ (i.e., 5 dollar signs) in a json file using grep as it has been used instead of comma to separate fields and I need to make sure this did not cause conflicts with existing similar sequence.
However, when I grep $, I get similar number of lines. It seems that $ is a special character for end of line?
How can i search for $$$$$ using grep?
Is $ a special character?
$$is a special parameter which is replaced by the PID of the shell; this is commonly (and traditionally) used to create unique/nonconflicting names for temp-files and such. – dave_thompson_085 Dec 30 '18 at 20:49