Paul Jackson wrote:
What about making ed create the missing intermediate directories

Do you mean as in:

     !mkdir -p foo/goo.dir

Yeah - I know - old school geek here - feel free to ignore.

But for less knowledgeable users, making ed automatically create any missing intermediate directories is more convenient. (And I have already implemented it).

Most likely however, if a directory or directory subtree is
missing on a write command, that's a typo in the pathname,
and should error out, not make a new typo-fied path.

Do you mean as the mkdir command above would error out if you mistype the dir? ;-)

You are probably right for your use case. But maybe other people want to use ed to create files in not-yet-existing directories.

BTW, if nobody asks for more features, I'll probably release ed 1.20-pre3 tomorrow.

Antonio.

Reply via email to