Re: [rfc] sed option `-i' (edit in place)

2007-08-26 Thread Denys Vlasenko
On Saturday 25 August 2007 23:10, Cristian Ionescu-Idbohrn wrote: AFAICS, that option creates a temporary file on the same fs as the edited file resides on. And that is indeed optimal, but at the same time somewhat unfortunate for embedded systems. Embedded systems usualy place editable

Re: [rfc] sed option `-i' (edit in place)

2007-08-26 Thread Cristian Ionescu-Idbohrn
On Sun, 26 Aug 2007, Denys Vlasenko wrote: On Saturday 25 August 2007 23:10, Cristian Ionescu-Idbohrn wrote: AFAICS, that option creates a temporary file on the same fs as the edited file resides on. And that is indeed optimal, but at the same time somewhat unfortunate for embedded

Re: [rfc] sed option `-i' (edit in place)

2007-08-26 Thread Denys Vlasenko
On Sunday 26 August 2007 16:00, Cristian Ionescu-Idbohrn wrote: Embedded systems usualy place editable files on flash fs and those fs get used out very much faster compared to real hdfs. I think that sed creates new file, fills it and and then renames new file into old file so fast that

Re: [rfc] sed option `-i' (edit in place)

2007-08-26 Thread Cristian Ionescu-Idbohrn
On Sun, 26 Aug 2007, Denys Vlasenko wrote: On Sunday 26 August 2007 16:00, Cristian Ionescu-Idbohrn wrote: Embedded systems usualy place editable files on flash fs and those fs get used out very much faster compared to real hdfs. I think that sed creates new file, fills it and and then