LucasLarson / HQ9

🍋  an interpreter of the HQ9+ programming language, written in C++20

Home Page:https://git.io/HQ9

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`timeout` is not defined by POSIX

LucasLarson opened this issue · comments

  • it’s faster and safer to grep $program than to run the new executable¹
  • timeout is not a POSIX-specified utility² or special built‑in³

  1. HQ9/bootstrap.sh

    Lines 49 to 53 in 03585e6

    if timeout 3 "./${program}" 2>&1 | grep -q "${author}"; then
    printf '%s %s interpreter bootstrapping succeeded.\n\n' "" "${program}"
    printf 'Activate it by entering: ./%s\n' "${program}"
    printf 'then press return.\n\n\n'
    fi
  2. POSIX utilities
  3. POSIX special built-in utilities