{
    "mode": "man",
    "parameter": "slsh",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/slsh/1/json",
    "generated": "2026-05-30T05:14:44Z",
    "synopsis": "slsh [-i init-file]  [-g]  [-n]  [-v]  [--help]  [--version]  [-|file args]",
    "sections": {
        "NAME": {
            "content": "slsh — interperter for S-Lang scripts\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "slsh [-i init-file]  [-g]  [-n]  [-v]  [--help]  [--version]  [-|file args]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This manual page documents briefly the slsh command. This manual page was written for the De‐‐\nbian distribution because the original program does not have a manual page.\n\nslsh is an interpreter for scripts written in the S-Lang language.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "--help    Show summary of options\n\n--version Show slsh version information\n",
            "subsections": [
                {
                    "name": "-g",
                    "content": "",
                    "flag": "-g"
                },
                {
                    "name": "-n",
                    "content": "",
                    "flag": "-n"
                },
                {
                    "name": "-i",
                    "content": "Use this file instead of default\n",
                    "flag": "-i"
                },
                {
                    "name": "-v",
                    "content": "",
                    "flag": "-v"
                }
            ]
        },
        "ENVIRONMENT VARIABLES": {
            "content": "Upon startup, the program will try to load slsh.rc as follows:\n\nIf either SLSHCONFDIR or SLSHLIBDIR environment variables exist, then look in the  corre‐\nsponding directories for slsh.rc. Otherwise look in:\n\n$(prefix)/etc (specified in Makefile)\n\n/usr/local/etc/\n\n/usr/local/etc/slsh/\n\n/etc/\n\n/etc/slsh/\n\n\nThe  slsh.rc  file may load other files from slsh's library directory in the manner described\nbelow.\n\nOnce slsh.rc is loaded, slsh will load $HOME/.slshrc if present. Finally, it  will  load  the\nscript  specified  on  the  command line. If the name of the script is ``-'', then it will be\nread from stdin.\n\nWhen a script loads a file via the built-in ``evalfile'' function or the ``require'' function\n(autoloaded  by  slsh.rc),  the  file is searched for along the SLSHPATH as specified in the\nMakefile. An alternate path may be specified by the SLSHPATH environment variable.\n\nThe search path may be queried  and  set  during  run  time  via  set  the  getlibpath  and\nsetlibpath functions, e.g.,\n\nsetlibpath (\"/home/bill/lib/slsh:/usr/share/slsh\");\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Examples of S-Lang scripts can be found in /usr/share/doc/slsh/examples/.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "This  manual page was written by Rafael Laboissiere <rafael@debian.org> for the Debian system\n(but may be used by others). Permission is granted to copy,  distribute  and/or  modify  this\ndocument  under the terms of the GNU General Public License, Version 2 any later version pub‐\nlished by the Free Software Foundation.\n\nOn Debian systems, the complete text of the GNU  General  Public  License  can  be  found  in\n/usr/share/common-licenses/GPL.\n\n\n\nslsh(1)",
            "subsections": []
        }
    },
    "summary": "slsh — interperter for S-Lang scripts",
    "flags": [
        {
            "flag": "-g",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-n",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-i",
            "long": null,
            "arg": null,
            "description": "Use this file instead of default"
        },
        {
            "flag": "-v",
            "long": null,
            "arg": null,
            "description": ""
        }
    ],
    "examples": [],
    "see_also": []
}