bug-ed
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU ed 1.20 released


From: Ralph Corderoy
Subject: Re: GNU ed 1.20 released
Date: Mon, 22 Jan 2024 17:24:43 +0000

Hi,

> I am pleased to announce the release of GNU ed 1.20.

Congratulations.

> * Ed now creates missing parent directories when writing to a file.

This seems a bad idea to me.  If I ‘ed /some/long/paht/to/a/file’,
expecting to create it on the first write, then I want to know about my
typo by the write failing.  I don't want a parallel directory tree
automagically created so I've now both of:

    /some/long/path/to/a
    /some/long/paht/to/a

That might be guide surprising to debug and confusing if I later
discover the parallel typo'd branch.

Writing a text file is not a ‘mkdir -p’ action.  Just as ‘mkdir foo/bar’
isn't either; it needs the -p option.

Please reconsider this addition.  vim doesn't do this, as a comparison.

-- 
Cheers, Ralph.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]