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.