Subject: Re: bin/1749: /usr/bin/vi can't handle ":r ~user/something" correctly
To: None <email@example.com>
From: Chris G Demetriou <Chris_G_Demetriou@BALVENIE.PDL.CS.CMU.EDU>
Date: 11/09/1995 18:28:23
> Assuming ~user/foo exists and is a valid textfile, readable by the one that
> trys to include it. Now start vi then ":r ~user/foo", you will get:
> Error: ^[[H^[[2J/home/user/foo: No such file or directory.
> If you try ":r /home/user/foo" the file gets included like expected.
it works for me.
note that if you use special characters in file names, like '~', it
will invoke your shell to expand them, and _that_ may be causing you a
problem, in some way.