execline Scripting Language

repository·main·Indexed 41 days ago

https://github.com/skarnet/execline

An interpreter-less scripting language that converts scripts into single command lines, using executables to manage control flow. It is designed for lightweight, simple tasks where a standard shell is unnecessary.

Tokens
240
Snippets
1
Records
2
Agent score
2%

What's inside execline

  1. What is execline?

    main
    execline is an interpreter-less scripting language designed for small and simple scripts where a full shell would be overpowered. Unlike traditional scripting languages, it has no resident interpreter. Instead, it reads a script, transforms it into a single command line, and executes that command line. Control flow is managed by executing specific executables within that command line structure.
  2. Compile execline on Solaris

    main

    Because Solaris does not provide a POSIX-compliant shell at /bin/sh, you must patch the package to use the POSIX shell located at /usr/xpg4/bin/sh before starting the build process.

    Follow these steps:

    1. Run the patch script: ./patch-for-solaris.
    2. Run the configuration script: ./configure.
    3. Proceed with your standard compilation steps.

    The patch script modifies the #! (shebang) invocations in the configure script and various build tools to ensure the compilation process uses a POSIX shell.

    ./patch-for-solaris
    ./configure