which command is used to print the lines which are having only one '\'
grep "^\$" filename
grep "^\\$" filename