bug-ed
[Top][All Lists]
Advanced

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

Re: Warn when editing read-only files


From: Antonio Diaz Diaz
Subject: Re: Warn when editing read-only files
Date: Mon, 20 Nov 2023 17:52:48 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

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.



reply via email to

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