[p4] p4 submit w/o an editor

Ivey, William william_ivey at bmc.com
Sun Jul 9 12:19:41 PDT 2006

> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com]On Behalf Of Phlip
> Sent: Sunday, July 09, 2006 12:31 PM
> To: perforce-user at perforce.com
> Subject: [p4] p4 submit w/o an editor
> Perforcers:
> Brand X lets me do this:
>     cvs commit -m 'beefsqueak'
> It doesn't pop up an editor with a form for me to fill out. All I want
> to provide is the change description (-m 'beefsqueak').

Sorry, ignore my previous message - still half asleep today. You need the
full spec fed in, not just the comment (I was thinking of a script that
someone here wrote that hides  that bit). Should look like this:

p4 change -o | sed -e 's|<.*>|Your description here|' | submit -i


More information about the perforce-user mailing list