title: Perforce command line: How to use -i flag in "p4 client -i"?
body: <p>I'd like to edit/create a workspace on the command line without any text editor popping up.  The docs say to use the -i flag to use Standard Input.  What is the syntax / format of this usage?</p>
  
  <p>Passing a file works correctly:
  p4 client -i &lt; fileDefiningTheWorkspace.txt</p>
  
  <p>Passing the actual string defining the workspace doesn't work:
  p4 client -i "Root: C:\The\Root\r\nOptions: noallwrite noclobber....."</p>
  
  <p>Any ideas?
  Thanks!</p>