nmh-workers
[Top] [All Lists]

Re: embedding whitespace in program name

2002-09-10 05:54:28
Moshe Kaminsky wrote:
How can I embed whitespace in a program name for nmh? for example, I
tried setting Editor in .mh_profile to 'gvim -f' but when I run comp I
get:
  unable to exec gvim -f: No such file or directory

Maybe there's another way, but I think the answer I found was to make
a little front-end script and use it.  For instance, make a script
file named mymheditor with these two lines in it:

#!/bin/sh
exec "gvim -f" "$@"

then set Editor to mymheditor.

Jerry
--
Jerry Peek, jpeek(_at_)jpeek(_dot_)com, http://www.jpeek.com/


<Prev in Thread] Current Thread [Next in Thread>