Antonio Diaz Diaz wrote:
John Cowan wrote:It would be nice if ed understood ~ in pathnames, however.This should be doable, as ed already uses HOME to save ed.hup in the user's home directory. Also, POSIX seems to say nothing against (or about) expanding '~' to $HOME in file names like '~/foo'.
I have already implemented tilde expansion in ed; '~/foo' is now expanded to '$HOME/foo'. The change will appear in the next version of ed in a few days.
Antonio.