How can I use a regEx with grep so that I can check whether what I’m looking for is the first thing on the line ? What I want to do is find single line comments in a file, but I don’t want to grep stuff line http://path, so there can’t be anything behind // on the line.
Share
1 Answer