• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

12.3 Using program resources
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Generating Runtime Applications
        • Using program resources
          • Resource manipulation predicates
          • The swipl-rc program
    • Packages

12.3.2 The swipl-rc program

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.

l
List contents of the archive.
x
Extract named (or all) members of the archive into the current directory.
a
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 data and encoding none.
d
Delete named members from the archive.

This command is also described in the pl(1) Unix manual page.

ClioPatria (version V3.1.1-21-gb8003bb)