[comp.editors] vi: blanks in command-line ex cmds?

steinbac@hpl-opus.HP.COM (Gunter Steinbach) (07/31/90)

How can I add a multi-word command at invocation time, with the
"+ex_command" feature?  I can't seem to get my version of vi (in HP-UX
7.0 and earlier versions) to process commands with embedded blanks.
Example:

vi +'so .localexrc' file

results in "2 files to edit", which turn out to be, of course,
".localexrc" and "file", and no sourcing.  TFM don't say anything about
embedded blanks, but vi itself seems to be stripping them.