[p4] p4 grep - Without printing the line
Elliott Lock <[email protected]>
| Newsgroups | gmane.comp.version-control.perforce |
|---|---|
| Message-ID | <[email protected]> |
Posted on behalf of forum user 'Elliott Lock'. Hi, I'm running the following command: p4 grep -a -n -e "textToFind" "//streams/development/textFile.txt" This outputs something similar to the following: //streams/development/textFile.txt#405:14048:sometextMoreText[background=rgb(246, 213, 217)]textToFind[/background]sometextMoreTextsometextMoreTextsometextMoreText The only information I really want to output is the file revision and the line number. So: //streams/development/textFile.txt#405:14048 How would I modify my original command to do this? Many Thanks -- Please click here to see the post in its original format: http://forums.perforce.com/index.php?/topic/5515-p4-grep-without-printing-the-line _______________________________________________ perforce-user mailing list - [email protected] http://maillist.perforce.com/mailman/listinfo/perforce-user