On 2026-01-12 16:40, Alexander Jones wrote:
If we agree that passing a filename to ed which is either empty or has a trailing slash is inappropriate
Although this issue is sounding more tempesty-in-a-teapotty with every passing email, I still fail to see why "./" should be treated differently from "." or "foo/..". They all must be directories, no?
Another way to put it: if GNU ed wants to validate file names separately and independently of the kernel (though I still don't see why), shouldn't GNU ed do a complete job, consistently, with every file name it sees, rather than a halfhearted job at just one opportunity?
