CloseHook 1.01 (13 Aug 2019)  nemo 2019

CloseHook is a module that protects against unintentionally closing all open
files. Closing all files can cause file corruption because programs may
continue to write to old file handles which have been reallocated to
different files.

It guards against unintentional use of CLOSE#0 and *SHUT and equivalents,
whether in the desktop or at the command line.

Inspired by some extensive file corruption and Martin Avison's StopClose0
module.