Antonio Diaz Diaz <anto...@gnu.org> writes:
] How do you propose to implement such a warning while remaining
] POSIX-compliant?

In github.com/slewsys/ed this is implemented by reporting 'Read-only' if ed is in verbose mode:

$ ed -v /etc/os-release
/etc/os-release: File is read-only
735


Reply via email to