Skip to main content
2 events
when toggle format what by license comment
Sep 3, 2015 at 10:02 comment added G-Man Says 'Reinstate Monica' This will display all the first lines that match the pattern, but not the names of the files.  You can get them, on separate lines, by adding a -B1 specification to egrep — but, even then, you need to add -v to head to be safe.  Passing -n to egrep doesn't serve any purpose that I can see.
Sep 3, 2015 at 8:33 history answered Huygens CC BY-SA 3.0