[p4] How to remove extra text when running p4 change -o
perforce-user-forum at forums.perforce.com
Tue Jul 17 14:55:01 PDT 2018
Posted on behalf of forum user 'Sambwise'.
Since comments always start with "#" the easy thing is "grep -v
But the built-in parsing logic already ignores comments; you probably want to
use that rather than rolling your own. For example, if you want to
get the description, you should be able to just do "p4 -Ztag -F
%Description% change -o CHANGE"
Please click here to see the post in its original format:
More information about the perforce-user