RichiH/vcsh — Issue #18: $VCSH_EXTERNAL_COMMAND is broken
Author: Dieterbe
Created: 2011-12-23 11:14:43+00:00
State: open

```
[~]$ vcsh ranger commit -m 'new vcsh ignore system'
error: pathspec 'vcsh' did not match any file(s) known to git.
error: pathspec 'ignore' did not match any file(s) known to git.
error: pathspec 'system' did not match any file(s) known to git.
```

vcsh treats arguments with whitespace in them as separate arguments. Because of the simple way `$VCSH_EXTERNAL_COMMAND` is assigned, all arguments with whitespace in them will be treated as if they are multiple arguments, causing things to break badly.
The correct solution would be to use arrays, but you cannot use arrays if you want to remain posix compliant.
I would just write this stuff in bash and depend on bash, which would also allow us to clean up the code in other places.