Bug#339793: sed -i also removes symbolic links and creates new files

2008-01-15 Thread Kingsley G. Morse Jr.
On 01/15/08 21:24, Clint Adams wrote: > On Tue, Jan 15, 2008 at 01:12:21AM -0800, Kingsley G. Morse Jr. wrote: > > FYI: I happened to notice that editing in place > > with sed's "-i" option also removes symlinks and > > creates new, duplciate files. > > perl -i does the exact same thing. What make

Bug#339793: sed -i also removes symbolic links and creates new files

2008-01-15 Thread Clint Adams
On Tue, Jan 15, 2008 at 01:12:21AM -0800, Kingsley G. Morse Jr. wrote: > FYI: I happened to notice that editing in place > with sed's "-i" option also removes symlinks and > creates new, duplciate files. perl -i does the exact same thing. What makes you think this is a bug? -- To UNSUBSCRIBE,

Bug#339793: sed -i also removes symbolic links and creates new files

2008-01-15 Thread Kingsley G. Morse Jr.
FYI: I happened to notice that editing in place with sed's "-i" option also removes symlinks and creates new, duplciate files. For example: $ # Create a regular file with "Hello world" in it. $ echo "Hello world" > original_file $ # Create a symbolic link to it. $ ln -s original_