echo 'r /nonexist-file\nq' | ex > /dev/null 2>&1 This works with vim 6.0 and both bash and the Solaris release of 'sh'. Should 'configure.in' be changed this way to make it work?
When I last tried something like that (in something else), I discovered that "\n" wasn't portable. Perhaps the best thing is something like: cat <<'EOC' | ex > /dev/null 2>&1 r /nonexist-file q EOC or perhaps (echo 'r /nonexist-file'; echo 'q') | ex > /dev/null 2>&1 --Ken
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: Solaris 'vim' configure bug, Jerry Peek |
---|---|
Next by Date: | Re: Solaris 'vim' configure bug, Ralph Corderoy |
Previous by Thread: | Re: Solaris 'vim' configure bug, Jerry Peek |
Next by Thread: | Re: Solaris 'vim' configure bug, Glenn Burkhardt |
Indexes: | [Date] [Thread] [Top] [All Lists] |