Subject: bug in vi on linux

From: Cheng Ong <[email-masked]>
Date: Tue, 11 Feb 2014 02:02:00 +0000

Hi there,

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.

Regards

Cheng Ong
Technical Consultant - Customised Applications, Service Delivery | Information Services Branch
Organisational Services Division | BRISBANE CITY COUNCIL
...........................................................................................................
Level G Green Square,  505 St Paul's Terrace, Fortitude Valley, Qld 4006
Phone: +61-7-3027 5286
Email: [email-masked]<mailto:[email-masked]>

[Description: Description: cid:[email-masked]]<http://www.brisbane.qld.gov.au/>    [Description: Description: cid:[email-masked]] <http://www.facebook.com/BrisbaneCityCouncil>     [Description: Description: cid:[email-masked]] <http://twitter.com/brisbanecityqld>     [Description: Description: cid:[email-masked]] <http://www.youtube.com/user/BrisbaneCityCouncil>

****************************************************
This message has passed through an insecure network.
Please direct all enquiries to the message author.
****************************************************