github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/docs/commands/bexists.md (about)

     1  # `bexists`
     2  
     3  > Check which builtins exist
     4  
     5  ## Description
     6  
     7  `bexists` takes an array of parameters and returns which commands have been
     8  compiled into Murex. The 'b' in `bexists` stands for 'builtins'
     9  
    10  ## Usage
    11  
    12  ```
    13  bexists command... -> <stdout>
    14  ```
    15  
    16  ## Examples
    17  
    18  ```
    19  ยป bexists: qr gzip runtime config
    20  {
    21      "Installed": [
    22          "runtime",
    23          "config"
    24      ],
    25      "Missing": [
    26          "qr",
    27          "gzip"
    28      ]
    29  }
    30  ```
    31  
    32  ## Detail
    33  
    34  This builtin dates back to the start of Murex when all of the builtins were
    35  considered optional. This was intended to be a way for scripts to determine
    36  which builtins were compiled. Since then `runtime` has absorbed and centralized
    37  a number of similar commands which have since been deprecated. The same fate
    38  might also happen to `bexists` however it is in use by a few modules and for
    39  that reason alone it has been spared from the axe.
    40  
    41  ## See Also
    42  
    43  * [Modules and Packages](../user-guide/modules.md):
    44    An introduction to Murex modules and packages
    45  * [`fexec` ](../commands/fexec.md):
    46    Execute a command or function, bypassing the usual order of precedence.
    47  * [`runtime`](../commands/runtime.md):
    48    Returns runtime information on the internal state of Murex
    49  
    50  <hr/>
    51  
    52  This document was generated from [builtins/core/management/functions_doc.yaml](https://github.com/lmorg/murex/blob/master/builtins/core/management/functions_doc.yaml).