Using ROX CVS:
While experimenting with AVFS, I observed the following.
If I set a run action, $@ expands to the full pathname of the file
If I select a file, and execute a shell command, $@ expands only to the
The error occurs since I must prepend a path to the existing path when
When run action is set to:
$@# expands to the full pathname
When I press ! and use the same command, $@ expands only to the filename,
and I receive a file not found error.
This error does not seem to occur when just using $@ in a shell command.
It only seems to occur when I prepend information or add information to $@.
For example, with any text file
1) ! gvim $HOME/.avfs/$@ fails, but
2) ! gvim $@ works, and
3) ! gvim $HOME/.avfs/$PWD/$@ works, but the corresponding run action for
.txt would be
4) gvim $HOME/.avfs/$@ since in this case $@ expands to the full pathname.
$HOME/.avfs is a virtual file link to the root filesystem.
When using run action, option 1 above works but 3 fails! Perhaps there is
some path expansion going on when shells are run? Is $PWD prepended to $@
prior to the shell command whereas in run action it is not?