update docs for magic patterns

This commit is contained in:
Axel Kohlmeyer
2021-03-14 06:39:59 -04:00
parent 18be1a2ea3
commit 1b409fbae8

View File

@ -649,14 +649,15 @@ Magic patterns for the "file" command
.. versionadded:: 10Mar2021 .. versionadded:: 10Mar2021
The file ``magic`` contains pattern that are used by the ``file`` The file ``magic`` contains patterns that are used by the
program available on most Unix-like operating systems which enable `file program <https://en.wikipedia.org/wiki/File_(command)>`_
it to detect various LAMMPS files and print some useful information available on most Unix-like operating systems which enables it
about them. To enable these patterns, append or copy them to either to detect various LAMMPS files and print some useful information
the file ``.magic`` in your home directory or (as administrator) to about them. To enable these patterns, append or copy the contents
``/etc/magic`` (for a system-wide installation). Afterwards the of the file to either the file ``.magic`` in your home directory
``file`` command should be able to detect LAMMPS binary or (as administrator) to ``/etc/magic`` (for a system-wide
restarts and dump files and some data and log files. Examples: installation). Afterwards the ``file`` command should be able to
detect most LAMMPS restarts, dump, data and log files. Examples:
.. code-block:: bash .. code-block:: bash