Usage eol_multi.sh

The script eol_multi.sh calls the script eol_check.sh multiple times and generates a short overview with eol status of your local products.

Show help

It is a command lne tool. With -h or --help you get a list of supported options.

> ./eol_multi.sh -h
_______________________________________________________________________________

  EOL MULTI CHECK v0.3
_______________________________________________________________________________

Get end of life information of a product list and show if a locally installed 
version is still naintained and what is the newest version.
Data source is https://endoflife.date/ API.

This tool requires 'curl' and 'jq' to run.

The product list is read from a given file.

👤 Author: Axel Hahn; Institute for Medical Education; University of Bern
📄 Source: <https://git-repo.iml.unibe.ch/iml-open-source/eol-check>
📜 License: GNU GPL 3.0
📗 Docs: <https://os-docs.iml.unibe.ch/eol-check/>
_______________________________________________________________________________

✨ SYNTAX:

    eol_multi.sh [OPTIONS] PRODUCTFILE


🔷 OPTIONS:

    -h|--help            show this help and exit


🔷 PARAMETER:

    PRODUCTFILE          filename with list of product keys

    Syntax:
    - one product key per line; only the 1st word per line is processed
    - use '#' at the beginning of a line


🏁 EXITCODES:

    The script exist with the worst result of eol_check.sh of all products.

    0: OK - up to date
    1: minor update available
    2: major update available
    3: no support for your version
    4: no support for the product
    5: product was not detected locally (skip)

    10 and higher: execution erors - version check was not performed

    30 and higher: execution error in eol_multi.sh


👉🏼 EXAMPLES:

    eol_multi.sh produxcts.txt    List of produt keys line by line.

List of products to check

You need to create a list with local product keys to check. Check the products.txt.dist to see an example.

# ----------------------------------------
# dist file with prodcut keys
# ----------------------------------------
docker-engine
php
ruby
python
oracle-jdk
# ----------------------------------------

Syntax:

  • In a line the 1st word must be a product key.
    • Spaces in front are allowed.
    • any text behind the 1st word is ignored (can be used to add a comment)
  • Lines starting with “#” are comments
  • empty lines will ignored.

Check List of products

> ./eol_multi.sh products.txt
❌ SKIP            ruby                ERROR: Ruby is not installed
🟥 End of life     docker-engine       Docker Engine v28.4.0: Update with new major version is available: '28.5.1'.
🟠 Major update    python              Python v3.13.7: Update with new major version is available: '3.14.0'.
🟢 Minor update    php                 PHP v8.4.12: You have the current major version '8.4'.
🟩 Up to date      oracle-jdk          Oracle JDK v25.0.1: You are up to date.
Total: 5