The utility program swipl-rc can be used to examine and manipulate the contents of a SWI-Prolog resource file. The options are inspired by the Unix ar program. The basic command is:
% swipl-rc option resource-file member ...
The options are described below.
- List contents of the archive.
- Extract named (or all) members of the archive into the current directory.
- Add files to the archive. If the archive already contains a member with
the same name, the contents are replaced. Anywhere in the sequence of
members, the options --class=class and
--encoding=encoding may appear. They affect
the class and encoding of subsequent files. The initial class is
- Delete named members from the archive.
This command is also described in the pl(1) Unix manual page.