How do i search/ grep for a string only from the list of files that are checkout in
perforce. I can get the list of files that are check out by me using this command :
p4 opened -a | grep “username”..
How do i search/ grep for a string only from the list of files
Share
This should do it for you:
The piped commands do the following:
Note that adding the -u parameter to p4 opened is a more efficient way to get the files opened by a particular user than grepping the output of “p4 opened -a”.