Re: history -r should print error message if file doesn't exist

Chet Ramey <[email protected]>
Newsgroups gmane.comp.shells.bash.bugs
Organization ITS, Case Western Reserve University
Message-ID <[email protected]>
On 1/11/26 3:31 PM, Dan Jacobson wrote:
> history -r should print error message if file doesn't exist.
> $ history -r zzzzz
> $

Not unreasonable. There are a few values of errno where printing an error
message is appropriate.

Chet


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    [email protected]    http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc (application/pgp-signature, 203 B)
-----BEGIN PGP SIGNATURE-----

wmMEABEIACMWIQR8ATX7CIqvbGbGULm7WGnwZOp0qwUCaWaTNAUDAAAAAAAKCRC7WGnwZOp0q8aS
AKCC6N8ZJEZO9a6lpIVyHi18IlksXQCfVZ/QBazQoYmkV1lrgCJsozy1rOs=
=4l+Z
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.