Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
On 11/02/14 12:02, Cheng Ong wrote:
> Just encountered a bug in VI.
> Editing file 'x' using vi, when done, content of file 'x' was saved as well
> in file 'y'.
> File 'y' has no relation to file 'x' and is sitting in a different directory.
> Only relation was file 'x' was created through a cp command from file 'y'.
> Now changes made either on file 'y' or 'x' appear in both files.
Are you sure that they are not symbolic or hard links? I.e. made using
'cp -s' or 'cp -l'?
Allan