update docs for magic patterns

This commit is contained in:
Axel Kohlmeyer 2021-03-14 06:39:59 -04:00
parent 18be1a2ea3
commit 1b409fbae8
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 9 additions and 8 deletions

View File

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