Re: sed(1) make -i behave a little nicer

2018-12-08 Thread Martijn van Duren
On 12/7/18 4:13 PM, patrick keshishian wrote: > On Fri, Dec 07, 2018 at 08:41:21AM +0100, Martijn van Duren wrote: >> I ran into a few minor nuisances with sed's -i mode, which are mostly >> compatible with gnu sed, but I reckon we should address. >> >> The problem is sed works by writing the

Re: sed(1) make -i behave a little nicer

2018-12-07 Thread patrick keshishian
On Fri, Dec 07, 2018 at 08:41:21AM +0100, Martijn van Duren wrote: > I ran into a few minor nuisances with sed's -i mode, which are mostly > compatible with gnu sed, but I reckon we should address. > > The problem is sed works by writing the output to a second file in the > same directory as the

sed(1) make -i behave a little nicer

2018-12-06 Thread Martijn van Duren
I ran into a few minor nuisances with sed's -i mode, which are mostly compatible with gnu sed, but I reckon we should address. The problem is sed works by writing the output to a second file in the same directory as the original and after completion renaming the file to the original. This has